@lobehub/chat 1.50.4 → 1.51.0
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/.env.example +1 -0
- package/CHANGELOG.md +60 -0
- package/changelog/v1.json +21 -0
- package/docs/changelog/2025-01-22-new-ai-provider.mdx +2 -2
- package/docs/changelog/2025-02-02-deepseek-r1.mdx +33 -0
- package/docs/changelog/2025-02-02-deepseek-r1.zh-CN.mdx +29 -0
- package/docs/changelog/index.json +6 -0
- package/docs/self-hosting/environment-variables/model-provider.mdx +7 -0
- package/docs/self-hosting/environment-variables/model-provider.zh-CN.mdx +7 -0
- package/locales/ar/modelProvider.json +4 -0
- package/locales/bg-BG/modelProvider.json +4 -0
- package/locales/de-DE/modelProvider.json +4 -0
- package/locales/en-US/modelProvider.json +4 -0
- package/locales/es-ES/modelProvider.json +4 -0
- package/locales/fa-IR/modelProvider.json +4 -0
- package/locales/fr-FR/modelProvider.json +4 -0
- package/locales/it-IT/modelProvider.json +4 -0
- package/locales/ja-JP/modelProvider.json +4 -0
- package/locales/ko-KR/modelProvider.json +4 -0
- package/locales/nl-NL/modelProvider.json +4 -0
- package/locales/pl-PL/modelProvider.json +4 -0
- package/locales/pt-BR/modelProvider.json +4 -0
- package/locales/ru-RU/modelProvider.json +4 -0
- package/locales/tr-TR/modelProvider.json +4 -0
- package/locales/vi-VN/modelProvider.json +4 -0
- package/locales/zh-CN/modelProvider.json +4 -0
- package/locales/zh-TW/modelProvider.json +4 -0
- package/package.json +1 -1
- package/src/app/(main)/settings/provider/features/ModelList/CreateNewModelModal/Form.tsx +8 -0
- package/src/config/aiModels/github.ts +30 -2
- package/src/config/aiModels/qwen.ts +139 -10
- package/src/config/modelProviders/github.ts +27 -3
- package/src/config/modelProviders/qwen.ts +90 -12
- package/src/hooks/useModelSupportReasoning.ts +15 -0
- package/src/libs/agent-runtime/siliconcloud/index.ts +3 -2
- package/src/locales/default/modelProvider.ts +5 -0
- package/src/store/aiInfra/slices/aiModel/action.ts +1 -0
- package/src/store/aiInfra/slices/aiModel/selectors.ts +7 -0
- package/src/store/user/slices/modelList/selectors/modelProvider.ts +4 -0
- package/src/types/aiModel.ts +5 -0
- package/src/types/llm.ts +9 -0
- package/src/utils/_deprecated/parseModels.test.ts +11 -0
- package/src/utils/_deprecated/parseModels.ts +4 -0
- package/src/utils/merge.test.ts +56 -0
- package/src/utils/merge.ts +3 -2
- package/src/utils/parseModels.test.ts +14 -0
- package/src/utils/parseModels.ts +4 -0
package/.env.example
CHANGED
package/CHANGELOG.md
CHANGED
@@ -2,6 +2,66 @@
|
|
2
2
|
|
3
3
|
# Changelog
|
4
4
|
|
5
|
+
## [Version 1.51.0](https://github.com/lobehub/lobe-chat/compare/v1.50.5...v1.51.0)
|
6
|
+
|
7
|
+
<sup>Released on **2025-02-05**</sup>
|
8
|
+
|
9
|
+
#### ✨ Features
|
10
|
+
|
11
|
+
- **misc**: Add reasoning tag support for custom models via UI or ENV.
|
12
|
+
|
13
|
+
#### 🐛 Bug Fixes
|
14
|
+
|
15
|
+
- **misc**: Fix deepseek-v3 & qvq model tag fetch error from SiliconCloud, fix model ability missing.
|
16
|
+
|
17
|
+
<br/>
|
18
|
+
|
19
|
+
<details>
|
20
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
21
|
+
|
22
|
+
#### What's improved
|
23
|
+
|
24
|
+
- **misc**: Add reasoning tag support for custom models via UI or ENV, closes [#5684](https://github.com/lobehub/lobe-chat/issues/5684) ([3499403](https://github.com/lobehub/lobe-chat/commit/3499403))
|
25
|
+
|
26
|
+
#### What's fixed
|
27
|
+
|
28
|
+
- **misc**: Fix deepseek-v3 & qvq model tag fetch error from SiliconCloud, closes [#5741](https://github.com/lobehub/lobe-chat/issues/5741) ([ee61653](https://github.com/lobehub/lobe-chat/commit/ee61653))
|
29
|
+
- **misc**: Fix model ability missing, closes [#5739](https://github.com/lobehub/lobe-chat/issues/5739) ([0e1a022](https://github.com/lobehub/lobe-chat/commit/0e1a022))
|
30
|
+
|
31
|
+
</details>
|
32
|
+
|
33
|
+
<div align="right">
|
34
|
+
|
35
|
+
[](#readme-top)
|
36
|
+
|
37
|
+
</div>
|
38
|
+
|
39
|
+
### [Version 1.50.5](https://github.com/lobehub/lobe-chat/compare/v1.50.4...v1.50.5)
|
40
|
+
|
41
|
+
<sup>Released on **2025-02-04**</sup>
|
42
|
+
|
43
|
+
#### 💄 Styles
|
44
|
+
|
45
|
+
- **misc**: Add/Update Aliyun Cloud Models, update GitHub Models.
|
46
|
+
|
47
|
+
<br/>
|
48
|
+
|
49
|
+
<details>
|
50
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
51
|
+
|
52
|
+
#### Styles
|
53
|
+
|
54
|
+
- **misc**: Add/Update Aliyun Cloud Models, closes [#5613](https://github.com/lobehub/lobe-chat/issues/5613) ([95cd822](https://github.com/lobehub/lobe-chat/commit/95cd822))
|
55
|
+
- **misc**: Update GitHub Models, closes [#5683](https://github.com/lobehub/lobe-chat/issues/5683) ([ed4e048](https://github.com/lobehub/lobe-chat/commit/ed4e048))
|
56
|
+
|
57
|
+
</details>
|
58
|
+
|
59
|
+
<div align="right">
|
60
|
+
|
61
|
+
[](#readme-top)
|
62
|
+
|
63
|
+
</div>
|
64
|
+
|
5
65
|
### [Version 1.50.4](https://github.com/lobehub/lobe-chat/compare/v1.50.3...v1.50.4)
|
6
66
|
|
7
67
|
<sup>Released on **2025-02-04**</sup>
|
package/changelog/v1.json
CHANGED
@@ -1,4 +1,25 @@
|
|
1
1
|
[
|
2
|
+
{
|
3
|
+
"children": {
|
4
|
+
"features": [
|
5
|
+
"Add reasoning tag support for custom models via UI or ENV."
|
6
|
+
],
|
7
|
+
"fixes": [
|
8
|
+
"Fix deepseek-v3 & qvq model tag fetch error from SiliconCloud, fix model ability missing."
|
9
|
+
]
|
10
|
+
},
|
11
|
+
"date": "2025-02-05",
|
12
|
+
"version": "1.51.0"
|
13
|
+
},
|
14
|
+
{
|
15
|
+
"children": {
|
16
|
+
"improvements": [
|
17
|
+
"Add/Update Aliyun Cloud Models, update GitHub Models."
|
18
|
+
]
|
19
|
+
},
|
20
|
+
"date": "2025-02-04",
|
21
|
+
"version": "1.50.5"
|
22
|
+
},
|
2
23
|
{
|
3
24
|
"children": {
|
4
25
|
"fixes": [
|
@@ -1,8 +1,8 @@
|
|
1
1
|
---
|
2
2
|
title: LobeChat Launches New AI Provider Management System
|
3
3
|
description: >-
|
4
|
-
LobeChat has revamped its AI Provider Management System, now supporting custom
|
5
|
-
|
4
|
+
LobeChat has revamped its AI Provider Management System, now supporting custom
|
5
|
+
AI providers and models.
|
6
6
|
tags:
|
7
7
|
- LobeChat
|
8
8
|
- AI Provider
|
@@ -0,0 +1,33 @@
|
|
1
|
+
---
|
2
|
+
title: >-
|
3
|
+
LobeChat Integrates DeepSeek R1, Bringing a Revolutionary Chain of Thought Experience
|
4
|
+
|
5
|
+
description: >-
|
6
|
+
LobeChat v1.49.12 fully supports the DeepSeek R1 model, providing users with an unprecedented interactive experience in the chain of thought.
|
7
|
+
|
8
|
+
tags:
|
9
|
+
- LobeChat
|
10
|
+
- DeepSeek
|
11
|
+
- Chain of Thought
|
12
|
+
---
|
13
|
+
|
14
|
+
# Perfect Integration of DeepSeek R1 and it's Deep Thinking Experience 🎉
|
15
|
+
|
16
|
+
After nearly 10 days of meticulous refinement, LobeChat has fully integrated the DeepSeek R1 model in version v1.49.12, offering users a revolutionary interactive experience in the chain of thought!
|
17
|
+
|
18
|
+
## 🚀 Major Updates
|
19
|
+
|
20
|
+
- 🤯 **Comprehensive Support for DeepSeek R1**: Now fully integrated in both the Community and Cloud versions ([lobechat.com](https://lobechat.com)).
|
21
|
+
- 🧠 **Real-Time Chain of Thought Display**: Transparently presents the AI's reasoning process, making the resolution of complex issues clear and visible.
|
22
|
+
- ⚡️ **Deep Thinking Experience**: Utilizing Chain of Thought technology, it provides more insightful AI conversations.
|
23
|
+
- 💫 **Intuitive Problem Analysis**: Makes the analysis of complex issues clear and easy to understand.
|
24
|
+
|
25
|
+
## 🌟 How to Use
|
26
|
+
|
27
|
+
1. Upgrade to LobeChat v1.49.12 or visit [lobechat.com](https://lobechat.com).
|
28
|
+
2. Select the DeepSeek R1 model in the settings.
|
29
|
+
3. Experience a whole new level of intelligent conversation!
|
30
|
+
|
31
|
+
## 📢 Feedback and Support
|
32
|
+
|
33
|
+
If you encounter any issues while using the application or have suggestions for new features, feel free to engage with us through GitHub Discussions. Let's work together to create a better LobeChat!
|
@@ -0,0 +1,29 @@
|
|
1
|
+
---
|
2
|
+
title: LobeChat 重磅集成 DeepSeek R1,带来革命性思维链体验
|
3
|
+
description: LobeChat v1.49.12 已完整支持 DeepSeek R1 模型,为用户带来前所未有的思维链交互体验
|
4
|
+
tags:
|
5
|
+
- DeepSeek R1
|
6
|
+
- CoT
|
7
|
+
- 思维链
|
8
|
+
---
|
9
|
+
|
10
|
+
# 完美集成 DeepSeek R1 ,开启思维链新体验
|
11
|
+
|
12
|
+
经过近 10 天的精心打磨,LobeChat 已在 v1.49.12 版本中完整集成了 DeepSeek R1 模型,为用户带来革命性的思维链交互体验!
|
13
|
+
|
14
|
+
## 🚀 重大更新
|
15
|
+
|
16
|
+
- 🤯 **DeepSeek R1 全面支持**: 现已在社区版与 Cloud 版([lobechat.com](https://lobechat.com))中完整接入
|
17
|
+
- 🧠 **实时思维链展示**: 透明呈现 AI 的推理过程,让复杂问题的解决过程清晰可见
|
18
|
+
- ⚡️ **深度思考体验**: 通过 Chain of Thought 技术,带来更具洞察力的 AI 对话
|
19
|
+
- 💫 **直观的问题解析**: 让复杂问题的分析过程变得清晰易懂
|
20
|
+
|
21
|
+
## 🌟 使用方式
|
22
|
+
|
23
|
+
1. 升级到 LobeChat v1.49.12 或访问 [lobechat.com](https://lobechat.com)
|
24
|
+
2. 在设置中选择 DeepSeek R1 模型
|
25
|
+
3. 开启全新的智能对话体验!
|
26
|
+
|
27
|
+
## 📢 反馈与支持
|
28
|
+
|
29
|
+
如果您在使用过程中遇到任何问题,或对新功能有任何建议,欢迎通过 GitHub Discussions 与我们交流。让我们一起打造更好的 LobeChat!
|
@@ -2,6 +2,12 @@
|
|
2
2
|
"$schema": "https://github.com/lobehub/lobe-chat/blob/main/docs/changelog/schema.json",
|
3
3
|
"cloud": [],
|
4
4
|
"community": [
|
5
|
+
{
|
6
|
+
"image": "https://github.com/user-attachments/assets/5fe4c373-ebd0-42a9-bdca-0ab7e0a2e747",
|
7
|
+
"id": "2025-02-02-deepseek-r1",
|
8
|
+
"date": "2025-02-02",
|
9
|
+
"versionRange": ["1.47.8", "1.49.12"]
|
10
|
+
},
|
5
11
|
{
|
6
12
|
"image": "https://github.com/user-attachments/assets/7350f211-61ce-488e-b0e2-f0fcac25caeb",
|
7
13
|
"id": "2025-01-22-new-ai-provider",
|
@@ -169,6 +169,13 @@ If you need to use Azure OpenAI to provide model services, you can refer to the
|
|
169
169
|
|
170
170
|
## DeepSeek AI
|
171
171
|
|
172
|
+
### `DEEPSEEK_PROXY_URL`
|
173
|
+
|
174
|
+
- Type: Optional
|
175
|
+
- Description: If you manually configure the DeepSeek API proxy, you can use this configuration item to override the default DeepSeek API request base URL
|
176
|
+
- Default: -
|
177
|
+
- Example: `https://xxxx.models.ai.azure.com/v1`
|
178
|
+
|
172
179
|
### `DEEPSEEK_API_KEY`
|
173
180
|
|
174
181
|
- Type: Required
|
@@ -167,6 +167,13 @@ LobeChat 在部署时提供了丰富的模型服务商相关的环境变量,
|
|
167
167
|
|
168
168
|
## DeepSeek AI
|
169
169
|
|
170
|
+
### `DEEPSEEK_PROXY_URL`
|
171
|
+
|
172
|
+
- 类型:可选
|
173
|
+
- 描述:如果您手动配置了 DeepSeek API 代理,可以使用此配置项覆盖默认的 DeepSeek API 请求基础 URL
|
174
|
+
- 默认值: -
|
175
|
+
- 示例: `https://xxxx.models.ai.azure.com/v1`
|
176
|
+
|
170
177
|
### `DEEPSEEK_API_KEY`
|
171
178
|
|
172
179
|
- 类型:必选
|
@@ -229,6 +229,10 @@
|
|
229
229
|
"title": "معرف النموذج"
|
230
230
|
},
|
231
231
|
"modalTitle": "تكوين النموذج المخصص",
|
232
|
+
"reasoning": {
|
233
|
+
"extra": "هذا الإعداد سيفتح فقط قدرة النموذج على التفكير العميق، التأثير الفعلي يعتمد بالكامل على النموذج نفسه، يرجى اختبار ما إذا كان هذا النموذج يمتلك القدرة على التفكير العميق القابل للاستخدام",
|
234
|
+
"title": "يدعم التفكير العميق"
|
235
|
+
},
|
232
236
|
"tokens": {
|
233
237
|
"extra": "تعيين الحد الأقصى لعدد الرموز المدعومة من قبل النموذج",
|
234
238
|
"title": "أقصى نافذة سياق",
|
@@ -229,6 +229,10 @@
|
|
229
229
|
"title": "ID на модела"
|
230
230
|
},
|
231
231
|
"modalTitle": "Конфигурация на персонализиран модел",
|
232
|
+
"reasoning": {
|
233
|
+
"extra": "Тази конфигурация ще активира само способността на модела за дълбоко мислене, конкретният ефект зависи изцяло от самия модел, моля, тествайте сами дали моделът притежава налична способност за дълбоко мислене",
|
234
|
+
"title": "Поддръжка на дълбоко мислене"
|
235
|
+
},
|
232
236
|
"tokens": {
|
233
237
|
"extra": "Настройте максималния брой токени, поддържани от модела",
|
234
238
|
"title": "Максимален контекстуален прозорец",
|
@@ -229,6 +229,10 @@
|
|
229
229
|
"title": "Modell-ID"
|
230
230
|
},
|
231
231
|
"modalTitle": "Benutzerdefinierte Modellkonfiguration",
|
232
|
+
"reasoning": {
|
233
|
+
"extra": "Diese Konfiguration aktiviert nur die Fähigkeit des Modells zu tiefem Denken. Die tatsächlichen Ergebnisse hängen vollständig vom Modell selbst ab. Bitte testen Sie selbst, ob das Modell über die Fähigkeit zum tiefen Denken verfügt.",
|
234
|
+
"title": "Unterstützung für tiefes Denken"
|
235
|
+
},
|
232
236
|
"tokens": {
|
233
237
|
"extra": "Maximale Token-Anzahl für das Modell festlegen",
|
234
238
|
"title": "Maximales Kontextfenster",
|
@@ -229,6 +229,10 @@
|
|
229
229
|
"title": "Model ID"
|
230
230
|
},
|
231
231
|
"modalTitle": "Custom Model Configuration",
|
232
|
+
"reasoning": {
|
233
|
+
"extra": "This configuration will enable the model's deep thinking capabilities, and the specific effects depend entirely on the model itself. Please test whether this model has usable deep thinking abilities.",
|
234
|
+
"title": "Support Deep Thinking"
|
235
|
+
},
|
232
236
|
"tokens": {
|
233
237
|
"extra": "Set the maximum number of tokens supported by the model",
|
234
238
|
"title": "Maximum Context Window",
|
@@ -229,6 +229,10 @@
|
|
229
229
|
"title": "ID del modelo"
|
230
230
|
},
|
231
231
|
"modalTitle": "Configuración del modelo personalizado",
|
232
|
+
"reasoning": {
|
233
|
+
"extra": "Esta configuración solo activará la capacidad de pensamiento profundo del modelo, el efecto específico depende completamente del modelo en sí, por favor, pruebe si este modelo tiene la capacidad de pensamiento profundo utilizable",
|
234
|
+
"title": "Soporte para pensamiento profundo"
|
235
|
+
},
|
232
236
|
"tokens": {
|
233
237
|
"extra": "Establecer el número máximo de tokens que el modelo puede soportar",
|
234
238
|
"title": "Máximo de ventana de contexto",
|
@@ -229,6 +229,10 @@
|
|
229
229
|
"title": "شناسه مدل"
|
230
230
|
},
|
231
231
|
"modalTitle": "پیکربندی مدل سفارشی",
|
232
|
+
"reasoning": {
|
233
|
+
"extra": "این تنظیم فقط قابلیت تفکر عمیق مدل را فعال میکند و تأثیر دقیق آن کاملاً به خود مدل بستگی دارد، لطفاً خودتان آزمایش کنید که آیا این مدل قابلیت تفکر عمیق قابل استفاده را دارد یا خیر",
|
234
|
+
"title": "پشتیبانی از تفکر عمیق"
|
235
|
+
},
|
232
236
|
"tokens": {
|
233
237
|
"extra": "حداکثر تعداد توکنهای پشتیبانی شده توسط مدل را تنظیم کنید",
|
234
238
|
"title": "حداکثر پنجره زمینه",
|
@@ -229,6 +229,10 @@
|
|
229
229
|
"title": "ID du modèle"
|
230
230
|
},
|
231
231
|
"modalTitle": "Configuration du modèle personnalisé",
|
232
|
+
"reasoning": {
|
233
|
+
"extra": "Cette configuration activera uniquement la capacité de réflexion approfondie du modèle. Les résultats dépendent entièrement du modèle lui-même, veuillez tester si ce modèle possède une capacité de réflexion approfondie utilisable.",
|
234
|
+
"title": "Support de la réflexion approfondie"
|
235
|
+
},
|
232
236
|
"tokens": {
|
233
237
|
"extra": "Définir le nombre maximal de tokens pris en charge par le modèle",
|
234
238
|
"title": "Fenêtre de contexte maximale",
|
@@ -229,6 +229,10 @@
|
|
229
229
|
"title": "ID del modello"
|
230
230
|
},
|
231
231
|
"modalTitle": "Configurazione modello personalizzato",
|
232
|
+
"reasoning": {
|
233
|
+
"extra": "Questa configurazione attiverà solo la capacità di pensiero profondo del modello; l'effetto specifico dipende interamente dal modello stesso. Si prega di testare autonomamente se il modello possiede una capacità di pensiero profondo utilizzabile.",
|
234
|
+
"title": "Supporto per il pensiero profondo"
|
235
|
+
},
|
232
236
|
"tokens": {
|
233
237
|
"extra": "Imposta il numero massimo di token supportati dal modello",
|
234
238
|
"title": "Finestra di contesto massima",
|
@@ -229,6 +229,10 @@
|
|
229
229
|
"title": "モデル ID"
|
230
230
|
},
|
231
231
|
"modalTitle": "カスタムモデル設定",
|
232
|
+
"reasoning": {
|
233
|
+
"extra": "この設定は、モデルの深い思考能力を有効にするだけです。具体的な効果はモデル自体に依存しますので、このモデルが利用可能な深い思考能力を持っているかどうかはご自身でテストしてください。",
|
234
|
+
"title": "深い思考をサポート"
|
235
|
+
},
|
232
236
|
"tokens": {
|
233
237
|
"extra": "モデルがサポートする最大トークン数を設定する",
|
234
238
|
"title": "最大コンテキストウィンドウ",
|
@@ -229,6 +229,10 @@
|
|
229
229
|
"title": "모델 ID"
|
230
230
|
},
|
231
231
|
"modalTitle": "사용자 정의 모델 구성",
|
232
|
+
"reasoning": {
|
233
|
+
"extra": "이 설정은 모델의 심층 사고 능력만을 활성화합니다. 구체적인 효과는 모델 자체에 따라 다르므로, 해당 모델이 사용 가능한 심층 사고 능력을 갖추고 있는지 직접 테스트해 보시기 바랍니다.",
|
234
|
+
"title": "심층 사고 지원"
|
235
|
+
},
|
232
236
|
"tokens": {
|
233
237
|
"extra": "모델이 지원하는 최대 토큰 수 설정",
|
234
238
|
"title": "최대 컨텍스트 창",
|
@@ -229,6 +229,10 @@
|
|
229
229
|
"title": "Model ID"
|
230
230
|
},
|
231
231
|
"modalTitle": "Configuratie van aangepast model",
|
232
|
+
"reasoning": {
|
233
|
+
"extra": "Deze configuratie schakelt alleen de mogelijkheid voor diepgaand denken van het model in. Het specifieke effect hangt volledig af van het model zelf, test zelf of dit model in staat is tot bruikbaar diepgaand denken.",
|
234
|
+
"title": "Ondersteuning voor diepgaand denken"
|
235
|
+
},
|
232
236
|
"tokens": {
|
233
237
|
"extra": "Stel het maximale aantal tokens in dat door het model wordt ondersteund",
|
234
238
|
"title": "Maximale contextvenster",
|
@@ -229,6 +229,10 @@
|
|
229
229
|
"title": "ID modelu"
|
230
230
|
},
|
231
231
|
"modalTitle": "Konfiguracja niestandardowego modelu",
|
232
|
+
"reasoning": {
|
233
|
+
"extra": "Ta konfiguracja włączy jedynie zdolność modelu do głębokiego myślenia, a konkretne efekty w pełni zależą od samego modelu. Proszę samodzielnie przetestować, czy model ma zdolność do głębokiego myślenia.",
|
234
|
+
"title": "Wsparcie dla głębokiego myślenia"
|
235
|
+
},
|
232
236
|
"tokens": {
|
233
237
|
"extra": "Ustaw maksymalną liczbę tokenów wspieranych przez model",
|
234
238
|
"title": "Maksymalne okno kontekstu",
|
@@ -229,6 +229,10 @@
|
|
229
229
|
"title": "ID do Modelo"
|
230
230
|
},
|
231
231
|
"modalTitle": "Configuração do Modelo Personalizado",
|
232
|
+
"reasoning": {
|
233
|
+
"extra": "Esta configuração ativará apenas a capacidade de pensamento profundo do modelo, e o efeito específico depende totalmente do próprio modelo. Por favor, teste se este modelo possui a capacidade de pensamento profundo utilizável.",
|
234
|
+
"title": "Suporte a Pensamento Profundo"
|
235
|
+
},
|
232
236
|
"tokens": {
|
233
237
|
"extra": "Configurar o número máximo de tokens suportados pelo modelo",
|
234
238
|
"title": "Janela de contexto máxima",
|
@@ -229,6 +229,10 @@
|
|
229
229
|
"title": "ID модели"
|
230
230
|
},
|
231
231
|
"modalTitle": "Настройка пользовательской модели",
|
232
|
+
"reasoning": {
|
233
|
+
"extra": "Эта настройка активирует возможность глубокого мышления модели, конкретный эффект полностью зависит от самой модели, пожалуйста, протестируйте, обладает ли модель доступной способностью к глубокому мышлению",
|
234
|
+
"title": "Поддержка глубокого мышления"
|
235
|
+
},
|
232
236
|
"tokens": {
|
233
237
|
"extra": "Установите максимальное количество токенов, поддерживаемое моделью",
|
234
238
|
"title": "Максимальное окно контекста",
|
@@ -229,6 +229,10 @@
|
|
229
229
|
"title": "Model ID"
|
230
230
|
},
|
231
231
|
"modalTitle": "Özel Model Yapılandırması",
|
232
|
+
"reasoning": {
|
233
|
+
"extra": "Bu yapılandırma yalnızca modelin derin düşünme yeteneğini açacaktır, belirli etkiler tamamen modelin kendisine bağlıdır, lütfen bu modelin kullanılabilir derin düşünme yeteneğine sahip olup olmadığını kendiniz test edin",
|
234
|
+
"title": "Derin düşünmeyi destekler"
|
235
|
+
},
|
232
236
|
"tokens": {
|
233
237
|
"extra": "Modelin desteklediği maksimum Token sayısını ayarlayın",
|
234
238
|
"title": "Maksimum bağlam penceresi",
|
@@ -229,6 +229,10 @@
|
|
229
229
|
"title": "ID mô hình"
|
230
230
|
},
|
231
231
|
"modalTitle": "Cấu hình mô hình tùy chỉnh",
|
232
|
+
"reasoning": {
|
233
|
+
"extra": "Cấu hình này sẽ chỉ kích hoạt khả năng suy nghĩ sâu của mô hình, hiệu quả cụ thể hoàn toàn phụ thuộc vào chính mô hình, vui lòng tự kiểm tra xem mô hình này có khả năng suy nghĩ sâu có thể sử dụng hay không",
|
234
|
+
"title": "Hỗ trợ suy nghĩ sâu"
|
235
|
+
},
|
232
236
|
"tokens": {
|
233
237
|
"extra": "Cài đặt số Token tối đa mà mô hình hỗ trợ",
|
234
238
|
"title": "Cửa sổ ngữ cảnh tối đa",
|
@@ -229,6 +229,10 @@
|
|
229
229
|
"title": "模型 ID"
|
230
230
|
},
|
231
231
|
"modalTitle": "自定义模型配置",
|
232
|
+
"reasoning": {
|
233
|
+
"extra": "此配置将仅开启模型深度思考的能力,具体效果完全取决于模型本身,请自行测试该模型是否具备可用的深度思考能力",
|
234
|
+
"title": "支持深度思考"
|
235
|
+
},
|
232
236
|
"tokens": {
|
233
237
|
"extra": "设置模型支持的最大 Token 数",
|
234
238
|
"title": "最大上下文窗口",
|
@@ -229,6 +229,10 @@
|
|
229
229
|
"title": "模型 ID"
|
230
230
|
},
|
231
231
|
"modalTitle": "自定義模型配置",
|
232
|
+
"reasoning": {
|
233
|
+
"extra": "此配置將僅開啟模型深度思考的能力,具體效果完全取決於模型本身,請自行測試該模型是否具備可用的深度思考能力",
|
234
|
+
"title": "支持深度思考"
|
235
|
+
},
|
232
236
|
"tokens": {
|
233
237
|
"extra": "設定模型支持的最大 Token 數",
|
234
238
|
"title": "最大上下文窗口",
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@lobehub/chat",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.51.0",
|
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",
|
@@ -95,6 +95,14 @@ const ModelConfigForm = memo<ModelConfigFormProps>(
|
|
95
95
|
>
|
96
96
|
<Checkbox />
|
97
97
|
</Form.Item>
|
98
|
+
<Form.Item
|
99
|
+
extra={t('providerModels.item.modelConfig.reasoning.extra')}
|
100
|
+
label={t('providerModels.item.modelConfig.reasoning.title')}
|
101
|
+
name={['abilities', 'reasoning']}
|
102
|
+
valuePropName={'checked'}
|
103
|
+
>
|
104
|
+
<Checkbox />
|
105
|
+
</Form.Item>
|
98
106
|
{/*<Form.Item*/}
|
99
107
|
{/* extra={t('providerModels.item.modelConfig.files.extra')}*/}
|
100
108
|
{/* label={t('providerModels.item.modelConfig.files.title')}*/}
|
@@ -58,7 +58,7 @@ const githubChatModels: AIChatModelCard[] = [
|
|
58
58
|
functionCall: true,
|
59
59
|
vision: true,
|
60
60
|
},
|
61
|
-
contextWindowTokens:
|
61
|
+
contextWindowTokens: 134_144,
|
62
62
|
description: '一种经济高效的AI解决方案,适用于多种文本和图像任务。',
|
63
63
|
displayName: 'OpenAI GPT-4o mini',
|
64
64
|
enabled: true,
|
@@ -71,11 +71,18 @@ const githubChatModels: AIChatModelCard[] = [
|
|
71
71
|
functionCall: true,
|
72
72
|
vision: true,
|
73
73
|
},
|
74
|
-
contextWindowTokens:
|
74
|
+
contextWindowTokens: 134_144,
|
75
75
|
description: 'OpenAI GPT-4系列中最先进的多模态模型,可以处理文本和图像输入。',
|
76
76
|
displayName: 'OpenAI GPT-4o',
|
77
77
|
enabled: true,
|
78
78
|
id: 'gpt-4o',
|
79
|
+
maxOutput: 16_384,
|
80
|
+
type: 'chat',
|
81
|
+
},
|
82
|
+
{
|
83
|
+
contextWindowTokens: 128_000,
|
84
|
+
displayName: 'DeepSeek R1',
|
85
|
+
id: 'DeepSeek-R1',
|
79
86
|
maxOutput: 4096,
|
80
87
|
type: 'chat',
|
81
88
|
},
|
@@ -145,6 +152,13 @@ const githubChatModels: AIChatModelCard[] = [
|
|
145
152
|
maxOutput: 4096,
|
146
153
|
type: 'chat',
|
147
154
|
},
|
155
|
+
{
|
156
|
+
contextWindowTokens: 262_144,
|
157
|
+
displayName: 'Codestral',
|
158
|
+
id: 'Codestral-2501',
|
159
|
+
maxOutput: 4096,
|
160
|
+
type: 'chat',
|
161
|
+
},
|
148
162
|
{
|
149
163
|
abilities: {
|
150
164
|
vision: true,
|
@@ -210,6 +224,20 @@ const githubChatModels: AIChatModelCard[] = [
|
|
210
224
|
maxOutput: 4096,
|
211
225
|
type: 'chat',
|
212
226
|
},
|
227
|
+
{
|
228
|
+
contextWindowTokens: 16_384,
|
229
|
+
displayName: 'Phi 4',
|
230
|
+
id: 'Phi-4',
|
231
|
+
maxOutput: 16_384,
|
232
|
+
type: 'chat',
|
233
|
+
},
|
234
|
+
{
|
235
|
+
contextWindowTokens: 131_072,
|
236
|
+
displayName: 'Phi 3.5 MoE',
|
237
|
+
id: 'Phi-3.5-MoE-instruct',
|
238
|
+
maxOutput: 4096,
|
239
|
+
type: 'chat',
|
240
|
+
},
|
213
241
|
{
|
214
242
|
contextWindowTokens: 131_072,
|
215
243
|
description: 'Phi-3-mini模型的更新版。',
|