@lobehub/chat 1.76.0 → 1.76.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +25 -0
- package/Dockerfile +3 -2
- package/Dockerfile.database +3 -1
- package/Dockerfile.pglite +3 -1
- package/changelog/v1.json +9 -0
- package/locales/ar/models.json +3 -0
- package/locales/bg-BG/models.json +3 -0
- package/locales/de-DE/models.json +3 -0
- package/locales/en-US/models.json +3 -0
- package/locales/es-ES/models.json +3 -0
- package/locales/fa-IR/models.json +3 -0
- package/locales/fr-FR/models.json +3 -0
- package/locales/it-IT/models.json +3 -0
- package/locales/ja-JP/models.json +3 -0
- package/locales/ko-KR/models.json +3 -0
- package/locales/nl-NL/models.json +3 -0
- package/locales/pl-PL/models.json +3 -0
- package/locales/pt-BR/models.json +3 -0
- package/locales/ru-RU/models.json +3 -0
- package/locales/tr-TR/models.json +3 -0
- package/locales/vi-VN/models.json +3 -0
- package/locales/zh-CN/models.json +3 -0
- package/locales/zh-TW/models.json +3 -0
- package/package.json +1 -1
- package/src/app/[variants]/(main)/settings/tts/features/const.tsx +4 -0
- package/src/config/aiModels/openai.ts +10 -0
- package/src/types/user/settings/tts.ts +1 -1
package/CHANGELOG.md
CHANGED
@@ -2,6 +2,31 @@
|
|
2
2
|
|
3
3
|
# Changelog
|
4
4
|
|
5
|
+
### [Version 1.76.1](https://github.com/lobehub/lobe-chat/compare/v1.76.0...v1.76.1)
|
6
|
+
|
7
|
+
<sup>Released on **2025-03-29**</sup>
|
8
|
+
|
9
|
+
#### 💄 Styles
|
10
|
+
|
11
|
+
- **misc**: Supports OpenAI's latest voice model gpt-4o-mini-tts.
|
12
|
+
|
13
|
+
<br/>
|
14
|
+
|
15
|
+
<details>
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
17
|
+
|
18
|
+
#### Styles
|
19
|
+
|
20
|
+
- **misc**: Supports OpenAI's latest voice model gpt-4o-mini-tts, closes [#7213](https://github.com/lobehub/lobe-chat/issues/7213) ([f291e6f](https://github.com/lobehub/lobe-chat/commit/f291e6f))
|
21
|
+
|
22
|
+
</details>
|
23
|
+
|
24
|
+
<div align="right">
|
25
|
+
|
26
|
+
[](#readme-top)
|
27
|
+
|
28
|
+
</div>
|
29
|
+
|
5
30
|
## [Version 1.76.0](https://github.com/lobehub/lobe-chat/compare/v1.75.5...v1.76.0)
|
6
31
|
|
7
32
|
<sup>Released on **2025-03-28**</sup>
|
package/Dockerfile
CHANGED
@@ -44,9 +44,10 @@ ARG NEXT_PUBLIC_POSTHOG_KEY
|
|
44
44
|
ARG NEXT_PUBLIC_ANALYTICS_UMAMI
|
45
45
|
ARG NEXT_PUBLIC_UMAMI_SCRIPT_URL
|
46
46
|
ARG NEXT_PUBLIC_UMAMI_WEBSITE_ID
|
47
|
+
ARG FEATURE_FLAGS
|
47
48
|
|
48
|
-
ENV NEXT_PUBLIC_BASE_PATH="${NEXT_PUBLIC_BASE_PATH}"
|
49
|
-
|
49
|
+
ENV NEXT_PUBLIC_BASE_PATH="${NEXT_PUBLIC_BASE_PATH}" \
|
50
|
+
FEATURE_FLAGS="${FEATURE_FLAGS}"
|
50
51
|
# Sentry
|
51
52
|
ENV NEXT_PUBLIC_SENTRY_DSN="${NEXT_PUBLIC_SENTRY_DSN}" \
|
52
53
|
SENTRY_ORG="" \
|
package/Dockerfile.database
CHANGED
@@ -46,8 +46,10 @@ ARG NEXT_PUBLIC_POSTHOG_KEY
|
|
46
46
|
ARG NEXT_PUBLIC_ANALYTICS_UMAMI
|
47
47
|
ARG NEXT_PUBLIC_UMAMI_SCRIPT_URL
|
48
48
|
ARG NEXT_PUBLIC_UMAMI_WEBSITE_ID
|
49
|
+
ARG FEATURE_FLAGS
|
49
50
|
|
50
|
-
ENV NEXT_PUBLIC_BASE_PATH="${NEXT_PUBLIC_BASE_PATH}"
|
51
|
+
ENV NEXT_PUBLIC_BASE_PATH="${NEXT_PUBLIC_BASE_PATH}" \
|
52
|
+
FEATURE_FLAGS="${FEATURE_FLAGS}"
|
51
53
|
|
52
54
|
ENV NEXT_PUBLIC_SERVICE_MODE="${NEXT_PUBLIC_SERVICE_MODE:-server}" \
|
53
55
|
NEXT_PUBLIC_ENABLE_NEXT_AUTH="${NEXT_PUBLIC_ENABLE_NEXT_AUTH:-1}" \
|
package/Dockerfile.pglite
CHANGED
@@ -44,9 +44,11 @@ ARG NEXT_PUBLIC_POSTHOG_KEY
|
|
44
44
|
ARG NEXT_PUBLIC_ANALYTICS_UMAMI
|
45
45
|
ARG NEXT_PUBLIC_UMAMI_SCRIPT_URL
|
46
46
|
ARG NEXT_PUBLIC_UMAMI_WEBSITE_ID
|
47
|
+
ARG FEATURE_FLAGS
|
47
48
|
|
48
49
|
ENV NEXT_PUBLIC_CLIENT_DB="pglite"
|
49
|
-
ENV NEXT_PUBLIC_BASE_PATH="${NEXT_PUBLIC_BASE_PATH}"
|
50
|
+
ENV NEXT_PUBLIC_BASE_PATH="${NEXT_PUBLIC_BASE_PATH}" \
|
51
|
+
FEATURE_FLAGS="${FEATURE_FLAGS}"
|
50
52
|
|
51
53
|
# Sentry
|
52
54
|
ENV NEXT_PUBLIC_SENTRY_DSN="${NEXT_PUBLIC_SENTRY_DSN}" \
|
package/changelog/v1.json
CHANGED
package/locales/ar/models.json
CHANGED
@@ -1082,6 +1082,9 @@
|
|
1082
1082
|
"gpt-4o-mini-realtime-preview": {
|
1083
1083
|
"description": "الإصدار المصغر الفوري من GPT-4o، يدعم إدخال وإخراج الصوت والنص في الوقت الحقيقي."
|
1084
1084
|
},
|
1085
|
+
"gpt-4o-mini-tts": {
|
1086
|
+
"description": "GPT-4o mini TTS هو نموذج تحويل النص إلى كلام، مبني على GPT-4o mini، يقدم إنتاج كلمات صوتية عالية الجودة بسعر أقل."
|
1087
|
+
},
|
1085
1088
|
"gpt-4o-realtime-preview": {
|
1086
1089
|
"description": "الإصدار الفوري من GPT-4o، يدعم إدخال وإخراج الصوت والنص في الوقت الحقيقي."
|
1087
1090
|
},
|
@@ -1082,6 +1082,9 @@
|
|
1082
1082
|
"gpt-4o-mini-realtime-preview": {
|
1083
1083
|
"description": "Реален вариант на GPT-4o-mini, поддържащ вход и изход на аудио и текст в реално време."
|
1084
1084
|
},
|
1085
|
+
"gpt-4o-mini-tts": {
|
1086
|
+
"description": "GPT-4o mini TTS е модел за преобразуване на текст в реч, базиран на GPT-4o mini, предлагащ висококачествено генериране на реч при по-ниска цена."
|
1087
|
+
},
|
1085
1088
|
"gpt-4o-realtime-preview": {
|
1086
1089
|
"description": "Реален вариант на GPT-4o, поддържащ вход и изход на аудио и текст в реално време."
|
1087
1090
|
},
|
@@ -1082,6 +1082,9 @@
|
|
1082
1082
|
"gpt-4o-mini-realtime-preview": {
|
1083
1083
|
"description": "Echtzeitversion von GPT-4o-mini, unterstützt Audio- und Texteingabe sowie -ausgabe in Echtzeit."
|
1084
1084
|
},
|
1085
|
+
"gpt-4o-mini-tts": {
|
1086
|
+
"description": "GPT-4o mini TTS ist ein Text-to-Speech-Modell, das auf GPT-4o mini basiert und hochwertige Sprachgenerierung bei niedrigeren Kosten bietet."
|
1087
|
+
},
|
1085
1088
|
"gpt-4o-realtime-preview": {
|
1086
1089
|
"description": "Echtzeitversion von GPT-4o, unterstützt Audio- und Texteingabe sowie -ausgabe in Echtzeit."
|
1087
1090
|
},
|
@@ -1082,6 +1082,9 @@
|
|
1082
1082
|
"gpt-4o-mini-realtime-preview": {
|
1083
1083
|
"description": "GPT-4o-mini real-time version, supporting real-time audio and text input and output."
|
1084
1084
|
},
|
1085
|
+
"gpt-4o-mini-tts": {
|
1086
|
+
"description": "GPT-4o mini TTS is a text-to-speech model based on GPT-4o mini, providing high-quality speech generation at a lower cost."
|
1087
|
+
},
|
1085
1088
|
"gpt-4o-realtime-preview": {
|
1086
1089
|
"description": "GPT-4o real-time version, supporting real-time audio and text input and output."
|
1087
1090
|
},
|
@@ -1082,6 +1082,9 @@
|
|
1082
1082
|
"gpt-4o-mini-realtime-preview": {
|
1083
1083
|
"description": "Versión en tiempo real de GPT-4o-mini, que admite entrada y salida de audio y texto en tiempo real."
|
1084
1084
|
},
|
1085
|
+
"gpt-4o-mini-tts": {
|
1086
|
+
"description": "GPT-4o mini TTS es un modelo de texto a voz basado en GPT-4o mini, que ofrece generación de voz de alta calidad a un costo más bajo."
|
1087
|
+
},
|
1085
1088
|
"gpt-4o-realtime-preview": {
|
1086
1089
|
"description": "Versión en tiempo real de GPT-4o, que admite entrada y salida de audio y texto en tiempo real."
|
1087
1090
|
},
|
@@ -1082,6 +1082,9 @@
|
|
1082
1082
|
"gpt-4o-mini-realtime-preview": {
|
1083
1083
|
"description": "نسخه زنده GPT-4o-mini، پشتیبانی از ورودی و خروجی صوتی و متنی به صورت زنده."
|
1084
1084
|
},
|
1085
|
+
"gpt-4o-mini-tts": {
|
1086
|
+
"description": "GPT-4o mini TTS یک مدل تبدیل متن به گفتار است که بر اساس GPT-4o mini ساخته شده است و با قیمت پایین تری از GPT-4o mini ارائه میدهد."
|
1087
|
+
},
|
1085
1088
|
"gpt-4o-realtime-preview": {
|
1086
1089
|
"description": "نسخه زنده GPT-4o، پشتیبانی از ورودی و خروجی صوتی و متنی به صورت زنده."
|
1087
1090
|
},
|
@@ -1082,6 +1082,9 @@
|
|
1082
1082
|
"gpt-4o-mini-realtime-preview": {
|
1083
1083
|
"description": "Version mini en temps réel de GPT-4o, prenant en charge les entrées et sorties audio et textuelles en temps réel."
|
1084
1084
|
},
|
1085
|
+
"gpt-4o-mini-tts": {
|
1086
|
+
"description": "GPT-4o mini TTS est un modèle de synthèse vocale basé sur GPT-4o mini, offrant une génération de voix de haute qualité à un coût plus faible."
|
1087
|
+
},
|
1085
1088
|
"gpt-4o-realtime-preview": {
|
1086
1089
|
"description": "Version en temps réel de GPT-4o, prenant en charge les entrées et sorties audio et textuelles en temps réel."
|
1087
1090
|
},
|
@@ -1082,6 +1082,9 @@
|
|
1082
1082
|
"gpt-4o-mini-realtime-preview": {
|
1083
1083
|
"description": "Versione in tempo reale di GPT-4o-mini, supporta input e output audio e testuali in tempo reale."
|
1084
1084
|
},
|
1085
|
+
"gpt-4o-mini-tts": {
|
1086
|
+
"description": "GPT-4o mini TTS è un modello di sintesi vocale basato su GPT-4o mini, che offre una generazione di voce di alta qualità a un costo più basso."
|
1087
|
+
},
|
1085
1088
|
"gpt-4o-realtime-preview": {
|
1086
1089
|
"description": "Versione in tempo reale di GPT-4o, supporta input e output audio e testuali in tempo reale."
|
1087
1090
|
},
|
@@ -1082,6 +1082,9 @@
|
|
1082
1082
|
"gpt-4o-mini-realtime-preview": {
|
1083
1083
|
"description": "GPT-4o-miniリアルタイムバージョン、音声とテキストのリアルタイム入力と出力をサポート"
|
1084
1084
|
},
|
1085
|
+
"gpt-4o-mini-tts": {
|
1086
|
+
"description": "GPT-4o mini TTS は、GPT-4o mini に基づくテキスト音声合成モデルで、高品質な音声生成を低コストで提供します。"
|
1087
|
+
},
|
1085
1088
|
"gpt-4o-realtime-preview": {
|
1086
1089
|
"description": "GPT-4oリアルタイムバージョン、音声とテキストのリアルタイム入力と出力をサポート"
|
1087
1090
|
},
|
@@ -1082,6 +1082,9 @@
|
|
1082
1082
|
"gpt-4o-mini-realtime-preview": {
|
1083
1083
|
"description": "GPT-4o-mini 실시간 버전으로, 오디오 및 텍스트의 실시간 입력 및 출력을 지원합니다."
|
1084
1084
|
},
|
1085
|
+
"gpt-4o-mini-tts": {
|
1086
|
+
"description": "GPT-4o mini TTS 는 GPT-4o mini 에 기반한 텍스트 음성 변환 모델로, 높은 품질의 음성 생성을 저렴한 가격으로 제공합니다."
|
1087
|
+
},
|
1085
1088
|
"gpt-4o-realtime-preview": {
|
1086
1089
|
"description": "GPT-4o 실시간 버전으로, 오디오 및 텍스트의 실시간 입력 및 출력을 지원합니다."
|
1087
1090
|
},
|
@@ -1082,6 +1082,9 @@
|
|
1082
1082
|
"gpt-4o-mini-realtime-preview": {
|
1083
1083
|
"description": "GPT-4o-mini realtime versie, ondersteunt audio en tekst realtime invoer en uitvoer."
|
1084
1084
|
},
|
1085
|
+
"gpt-4o-mini-tts": {
|
1086
|
+
"description": "GPT-4o mini TTS is een tekst-naar-spraak model dat is gebaseerd op GPT-4o mini, en biedt hoge kwaliteit spraakgeneratie tegen een lagere prijs."
|
1087
|
+
},
|
1085
1088
|
"gpt-4o-realtime-preview": {
|
1086
1089
|
"description": "GPT-4o realtime versie, ondersteunt audio en tekst realtime invoer en uitvoer."
|
1087
1090
|
},
|
@@ -1082,6 +1082,9 @@
|
|
1082
1082
|
"gpt-4o-mini-realtime-preview": {
|
1083
1083
|
"description": "Wersja na żywo GPT-4o-mini, obsługująca wejście i wyjście audio oraz tekstowe w czasie rzeczywistym."
|
1084
1084
|
},
|
1085
|
+
"gpt-4o-mini-tts": {
|
1086
|
+
"description": "GPT-4o mini TTS to model tekstu na mowę oparty na GPT-4o mini, oferujący wysokiej jakości generowanie mowy przy niższych kosztach."
|
1087
|
+
},
|
1085
1088
|
"gpt-4o-realtime-preview": {
|
1086
1089
|
"description": "Wersja na żywo GPT-4o, obsługująca wejście i wyjście audio oraz tekstowe w czasie rzeczywistym."
|
1087
1090
|
},
|
@@ -1082,6 +1082,9 @@
|
|
1082
1082
|
"gpt-4o-mini-realtime-preview": {
|
1083
1083
|
"description": "Versão em tempo real do GPT-4o-mini, suporta entrada e saída de áudio e texto em tempo real."
|
1084
1084
|
},
|
1085
|
+
"gpt-4o-mini-tts": {
|
1086
|
+
"description": "GPT-4o mini TTS é um modelo de texto para fala baseado em GPT-4o mini, oferecendo uma geração de voz de alta qualidade a um custo mais baixo."
|
1087
|
+
},
|
1085
1088
|
"gpt-4o-realtime-preview": {
|
1086
1089
|
"description": "Versão em tempo real do GPT-4o, suporta entrada e saída de áudio e texto em tempo real."
|
1087
1090
|
},
|
@@ -1082,6 +1082,9 @@
|
|
1082
1082
|
"gpt-4o-mini-realtime-preview": {
|
1083
1083
|
"description": "Реальная версия GPT-4o-mini, поддерживающая аудио и текстовый ввод и вывод в реальном времени."
|
1084
1084
|
},
|
1085
|
+
"gpt-4o-mini-tts": {
|
1086
|
+
"description": "GPT-4o mini TTS — это модель преобразования текста в речь, основанная на GPT-4o mini, обеспечивающая высокое качество синтеза речи при низкой стоимости."
|
1087
|
+
},
|
1085
1088
|
"gpt-4o-realtime-preview": {
|
1086
1089
|
"description": "Реальная версия GPT-4o, поддерживающая аудио и текстовый ввод и вывод в реальном времени."
|
1087
1090
|
},
|
@@ -1082,6 +1082,9 @@
|
|
1082
1082
|
"gpt-4o-mini-realtime-preview": {
|
1083
1083
|
"description": "GPT-4o-mini gerçek zamanlı versiyonu, ses ve metin için gerçek zamanlı giriş ve çıkış desteği sunar."
|
1084
1084
|
},
|
1085
|
+
"gpt-4o-mini-tts": {
|
1086
|
+
"description": "GPT-4o mini TTS, GPT-4o mini'ye dayalı bir metin-ses modeldir ve yüksek kaliteli ses üretimi, düşük maliyetli oluşturma sunar."
|
1087
|
+
},
|
1085
1088
|
"gpt-4o-realtime-preview": {
|
1086
1089
|
"description": "GPT-4o gerçek zamanlı versiyonu, ses ve metin için gerçek zamanlı giriş ve çıkış desteği sunar."
|
1087
1090
|
},
|
@@ -1082,6 +1082,9 @@
|
|
1082
1082
|
"gpt-4o-mini-realtime-preview": {
|
1083
1083
|
"description": "Phiên bản thời gian thực của GPT-4o-mini, hỗ trợ đầu vào và đầu ra âm thanh và văn bản theo thời gian thực."
|
1084
1084
|
},
|
1085
|
+
"gpt-4o-mini-tts": {
|
1086
|
+
"description": "GPT-4o mini TTS là mô hình chuyển văn bản thành giọng nói dựa trên GPT-4o mini, cung cấp sinh âm thanh cao cấp với chi phí thấp hơn."
|
1087
|
+
},
|
1085
1088
|
"gpt-4o-realtime-preview": {
|
1086
1089
|
"description": "Phiên bản thời gian thực của GPT-4o, hỗ trợ đầu vào và đầu ra âm thanh và văn bản theo thời gian thực."
|
1087
1090
|
},
|
@@ -1082,6 +1082,9 @@
|
|
1082
1082
|
"gpt-4o-mini-realtime-preview": {
|
1083
1083
|
"description": "GPT-4o-mini 实时版本,支持音频和文本实时输入输出"
|
1084
1084
|
},
|
1085
|
+
"gpt-4o-mini-tts": {
|
1086
|
+
"description": "GPT-4o mini TTS 是基于 GPT-4o mini 的文本转语音模型,提供高品质的语音生成,同时降低成本。"
|
1087
|
+
},
|
1085
1088
|
"gpt-4o-realtime-preview": {
|
1086
1089
|
"description": "GPT-4o 实时版本,支持音频和文本实时输入输出"
|
1087
1090
|
},
|
@@ -1082,6 +1082,9 @@
|
|
1082
1082
|
"gpt-4o-mini-realtime-preview": {
|
1083
1083
|
"description": "GPT-4o-mini 實時版本,支持音頻和文本實時輸入輸出"
|
1084
1084
|
},
|
1085
|
+
"gpt-4o-mini-tts": {
|
1086
|
+
"description": "GPT-4o mini TTS 是基於 GPT-4o mini 的文本轉語音模型,提供高品質的語音生成,同時降低成本。"
|
1087
|
+
},
|
1085
1088
|
"gpt-4o-realtime-preview": {
|
1086
1089
|
"description": "GPT-4o 實時版本,支持音頻和文本實時輸入輸出"
|
1087
1090
|
},
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@lobehub/chat",
|
3
|
-
"version": "1.76.
|
3
|
+
"version": "1.76.1",
|
4
4
|
"description": "Lobe Chat - an open-source, high-performance chatbot framework that supports speech synthesis, multimodal, and extensible Function Call plugin system. Supports one-click free deployment of your private ChatGPT/LLM web application.",
|
5
5
|
"keywords": [
|
6
6
|
"framework",
|
@@ -4,6 +4,10 @@ import { SelectProps } from 'antd';
|
|
4
4
|
import { LabelRenderer } from '@/components/ModelSelect';
|
5
5
|
|
6
6
|
export const opeanaiTTSOptions: SelectProps['options'] = [
|
7
|
+
{
|
8
|
+
label: <LabelRenderer Icon={OpenAI.Avatar} label={'gpt-4o-mini-tts'} />,
|
9
|
+
value: 'gpt-4o-mini-tts',
|
10
|
+
},
|
7
11
|
{
|
8
12
|
label: <LabelRenderer Icon={OpenAI.Avatar} label={'tts-1'} />,
|
9
13
|
value: 'tts-1',
|
@@ -480,6 +480,16 @@ export const openaiTTSModels: AITTSModelCard[] = [
|
|
480
480
|
},
|
481
481
|
type: 'tts',
|
482
482
|
},
|
483
|
+
{
|
484
|
+
description:
|
485
|
+
'GPT-4o mini TTS 是一个基于 GPT-4o mini 构建的文本转语音模型,这是一种快速且强大的语言模型。使用它可以将文本转换为自然听起来的语音文本。最大输入标记数为 2000。',
|
486
|
+
displayName: 'GPT-4o Mini TTS',
|
487
|
+
id: 'gpt-4o-mini-tts',
|
488
|
+
pricing: {
|
489
|
+
input: 10,
|
490
|
+
},
|
491
|
+
type: 'tts',
|
492
|
+
},
|
483
493
|
];
|
484
494
|
|
485
495
|
// 语音识别模型
|