@lobehub/chat 1.1.1 → 1.1.3
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 +42 -0
- package/README.md +1 -1
- package/README.zh-CN.md +1 -1
- package/docs/usage/providers/01ai.mdx +1 -2
- package/docs/usage/providers/01ai.zh-CN.mdx +1 -1
- package/docs/usage/providers/anthropic.mdx +5 -6
- package/docs/usage/providers/anthropic.zh-CN.mdx +4 -3
- package/docs/usage/providers/azure.mdx +1 -2
- package/docs/usage/providers/azure.zh-CN.mdx +2 -5
- package/docs/usage/providers/bedrock.mdx +3 -4
- package/docs/usage/providers/bedrock.zh-CN.mdx +4 -5
- package/docs/usage/providers/deepseek.mdx +3 -4
- package/docs/usage/providers/deepseek.zh-CN.mdx +1 -2
- package/docs/usage/providers/gemini.mdx +1 -2
- package/docs/usage/providers/gemini.zh-CN.mdx +1 -3
- package/docs/usage/providers/groq.mdx +5 -7
- package/docs/usage/providers/groq.zh-CN.mdx +5 -8
- package/docs/usage/providers/minimax.mdx +1 -3
- package/docs/usage/providers/minimax.zh-CN.mdx +1 -2
- package/docs/usage/providers/mistral.mdx +1 -3
- package/docs/usage/providers/mistral.zh-CN.mdx +2 -4
- package/docs/usage/providers/moonshot.mdx +2 -4
- package/docs/usage/providers/moonshot.zh-CN.mdx +2 -5
- package/docs/usage/providers/ollama.mdx +2 -1
- package/docs/usage/providers/ollama.zh-CN.mdx +2 -1
- package/docs/usage/providers/openai.mdx +7 -8
- package/docs/usage/providers/openai.zh-CN.mdx +6 -6
- package/docs/usage/providers/openrouter.mdx +1 -2
- package/docs/usage/providers/openrouter.zh-CN.mdx +2 -7
- package/docs/usage/providers/perplexity.mdx +1 -3
- package/docs/usage/providers/perplexity.zh-CN.mdx +2 -4
- package/docs/usage/providers/qwen.mdx +2 -3
- package/docs/usage/providers/qwen.zh-CN.mdx +3 -2
- package/docs/usage/providers/stepfun.mdx +2 -5
- package/docs/usage/providers/stepfun.zh-CN.mdx +2 -4
- package/docs/usage/providers/togetherai.mdx +1 -3
- package/docs/usage/providers/togetherai.zh-CN.mdx +1 -2
- package/docs/usage/providers/zhipu.mdx +2 -4
- package/docs/usage/providers/zhipu.zh-CN.mdx +2 -5
- package/locales/ar/error.json +2 -1
- package/locales/bg-BG/error.json +2 -1
- package/locales/de-DE/error.json +2 -1
- package/locales/en-US/error.json +2 -1
- package/locales/es-ES/error.json +2 -1
- package/locales/fr-FR/error.json +2 -1
- package/locales/it-IT/error.json +2 -1
- package/locales/ja-JP/error.json +2 -1
- package/locales/ko-KR/error.json +2 -1
- package/locales/nl-NL/error.json +2 -1
- package/locales/pl-PL/error.json +2 -1
- package/locales/pt-BR/error.json +2 -1
- package/locales/ru-RU/error.json +2 -1
- package/locales/tr-TR/error.json +2 -1
- package/locales/vi-VN/error.json +2 -1
- package/locales/zh-CN/error.json +2 -1
- package/locales/zh-TW/error.json +2 -1
- package/package.json +40 -40
- package/src/database/server/schemas/lobechat.ts +1 -0
- package/src/libs/agent-runtime/utils/openaiCompatibleFactory/index.test.ts +76 -0
- package/src/locales/default/error.ts +2 -1
- package/src/store/user/slices/modelList/selectors/modelConfig.test.ts +21 -0
- package/src/store/user/slices/modelList/selectors/modelConfig.ts +5 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,48 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog
|
|
4
4
|
|
|
5
|
+
### [Version 1.1.3](https://github.com/lobehub/lobe-chat/compare/v1.1.2...v1.1.3)
|
|
6
|
+
|
|
7
|
+
<sup>Released on **2024-06-21**</sup>
|
|
8
|
+
|
|
9
|
+
#### 🐛 Bug Fixes
|
|
10
|
+
|
|
11
|
+
- **misc**: Ollama not enabled client fetch by default.
|
|
12
|
+
|
|
13
|
+
<br/>
|
|
14
|
+
|
|
15
|
+
<details>
|
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
17
|
+
|
|
18
|
+
#### What's fixed
|
|
19
|
+
|
|
20
|
+
- **misc**: Ollama not enabled client fetch by default, closes [#2961](https://github.com/lobehub/lobe-chat/issues/2961) ([90db48e](https://github.com/lobehub/lobe-chat/commit/90db48e))
|
|
21
|
+
|
|
22
|
+
</details>
|
|
23
|
+
|
|
24
|
+
<div align="right">
|
|
25
|
+
|
|
26
|
+
[](#readme-top)
|
|
27
|
+
|
|
28
|
+
</div>
|
|
29
|
+
|
|
30
|
+
### [Version 1.1.2](https://github.com/lobehub/lobe-chat/compare/v1.1.1...v1.1.2)
|
|
31
|
+
|
|
32
|
+
<sup>Released on **2024-06-20**</sup>
|
|
33
|
+
|
|
34
|
+
<br/>
|
|
35
|
+
|
|
36
|
+
<details>
|
|
37
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
38
|
+
|
|
39
|
+
</details>
|
|
40
|
+
|
|
41
|
+
<div align="right">
|
|
42
|
+
|
|
43
|
+
[](#readme-top)
|
|
44
|
+
|
|
45
|
+
</div>
|
|
46
|
+
|
|
5
47
|
### [Version 1.1.1](https://github.com/lobehub/lobe-chat/compare/v1.1.0...v1.1.1)
|
|
6
48
|
|
|
7
49
|
<sup>Released on **2024-06-20**</sup>
|
package/README.md
CHANGED
|
@@ -233,7 +233,7 @@ In addition, these plugins are not limited to news aggregation, but can also ext
|
|
|
233
233
|
| [Search1API](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **fatwang2** on **2024-05-06**</sup> | Search aggregation service, specifically designed for LLMs<br/>`web` `search` |
|
|
234
234
|
| [Search Google via Serper](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **Barry** on **2024-04-30**</sup> | Google search engine via Serper.dev free API (2500x🆓/month)<br/>`web` `search` |
|
|
235
235
|
|
|
236
|
-
> 📊 Total plugins: [<kbd>**
|
|
236
|
+
> 📊 Total plugins: [<kbd>**53**</kbd>](https://github.com/lobehub/lobe-chat-plugins)
|
|
237
237
|
|
|
238
238
|
<!-- PLUGIN LIST -->
|
|
239
239
|
|
package/README.zh-CN.md
CHANGED
|
@@ -225,7 +225,7 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
|
|
|
225
225
|
| [Search1API](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **fatwang2** on **2024-05-06**</sup> | 搜索聚合服务,专为 LLMs 设计<br/>`web` `search` |
|
|
226
226
|
| [通过 Serper 搜索 Google](https://chat-preview.lobehub.com/settings/agent)<br/><sup>By **Barry** on **2024-04-30**</sup> | 通过 Serper.dev 免费 API 进行 Google 搜索引擎(每月 2500 次🆓)<br/>`网络` `搜索` |
|
|
227
227
|
|
|
228
|
-
> 📊 Total plugins: [<kbd>**
|
|
228
|
+
> 📊 Total plugins: [<kbd>**53**</kbd>](https://github.com/lobehub/lobe-chat-plugins)
|
|
229
229
|
|
|
230
230
|
<!-- PLUGIN LIST -->
|
|
231
231
|
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
---
|
|
2
|
-
title: Using Anthropic Claude in LobeChat
|
|
2
|
+
title: Using Anthropic Claude in LobeChat
|
|
3
3
|
description: >-
|
|
4
4
|
Learn how to integrate Anthropic Claude API in LobeChat to enhance your AI
|
|
5
|
-
assistant capabilities.
|
|
6
|
-
|
|
5
|
+
assistant capabilities. Support Claude 3.5 sonnet / Claude 3 Opus / Claude 3
|
|
6
|
+
haiku
|
|
7
7
|
tags:
|
|
8
8
|
- Anthropic Claude
|
|
9
|
-
-
|
|
10
|
-
- API integration
|
|
9
|
+
- API Key
|
|
11
10
|
- AI assistant
|
|
12
|
-
-
|
|
11
|
+
- Web UI
|
|
13
12
|
---
|
|
14
13
|
|
|
15
14
|
# Using Anthropic Claude in LobeChat
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: 在 LobeChat 中使用 Anthropic Claude
|
|
3
|
-
description:
|
|
3
|
+
description: >-
|
|
4
|
+
学习如何在 LobeChat 中配置和使用 Anthropic Claude API, Claude 3.5 sonnet / Claude 3 Opus
|
|
5
|
+
/ Claude 3 haiku
|
|
4
6
|
tags:
|
|
5
|
-
- LobeChat
|
|
6
7
|
- Anthropic Claude
|
|
7
8
|
- API
|
|
8
|
-
-
|
|
9
|
+
- WebUI
|
|
9
10
|
- AI助手
|
|
10
11
|
---
|
|
11
12
|
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
---
|
|
2
|
-
title: Using Azure OpenAI in LobeChat
|
|
2
|
+
title: Using Azure OpenAI in LobeChat
|
|
3
3
|
description: >-
|
|
4
4
|
Learn how to integrate and configure Azure OpenAI in LobeChat to enhance your
|
|
5
5
|
AI assistant capabilities. Follow these steps to obtain the API key, configure
|
|
6
6
|
the settings, and start engaging in conversations.
|
|
7
7
|
tags:
|
|
8
8
|
- Azure OpenAI
|
|
9
|
-
- LobeChat
|
|
10
9
|
- AI assistant
|
|
11
10
|
- API key
|
|
12
11
|
- Configuration
|
|
@@ -2,12 +2,9 @@
|
|
|
2
2
|
title: 在 LobeChat 中使用 Azure OpenAI
|
|
3
3
|
description: 学习如何在 LobeChat 中配置和使用 Azure OpenAI 模型进行对话,包括获取 API 密钥和选择模型。
|
|
4
4
|
tags:
|
|
5
|
-
- LobeChat
|
|
6
5
|
- Azure OpenAI
|
|
7
|
-
- API
|
|
8
|
-
-
|
|
9
|
-
- AI 助手
|
|
10
|
-
- 对话模型
|
|
6
|
+
- API Key
|
|
7
|
+
- Web UI
|
|
11
8
|
---
|
|
12
9
|
|
|
13
10
|
# 在 LobeChat 中使用 Azure OpenAI
|
|
@@ -2,12 +2,11 @@
|
|
|
2
2
|
title: 在 LobeChat 中使用 Amazon Bedrock
|
|
3
3
|
description: 学习如何在 LobeChat 中配置和使用 Amazon Bedrock,一个完全托管的基础模型API服务,以便开始对话。
|
|
4
4
|
tags:
|
|
5
|
-
- LobeChat
|
|
6
5
|
- Amazon Bedrock
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
-
|
|
10
|
-
-
|
|
6
|
+
- Claude 3.5 sonnect
|
|
7
|
+
- API keys
|
|
8
|
+
- Claude 3 Opus
|
|
9
|
+
- Web UI
|
|
11
10
|
---
|
|
12
11
|
|
|
13
12
|
# 在 LobeChat 中使用 Amazon Bedrock
|
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Using DeepSeek in LobeChat
|
|
3
3
|
description: >-
|
|
4
|
-
Learn how to use DeepSeek-V2 in LobeChat, obtain API keys
|
|
5
|
-
|
|
4
|
+
Learn how to use DeepSeek-V2 in LobeChat, obtain API keys. Get started with
|
|
5
|
+
DeepSeek integration now!
|
|
6
6
|
tags:
|
|
7
7
|
- DeepSeek
|
|
8
8
|
- LobeChat
|
|
9
9
|
- DeepSeek-V2
|
|
10
10
|
- API Key
|
|
11
|
-
-
|
|
12
|
-
- Conversation Integration
|
|
11
|
+
- Web UI
|
|
13
12
|
---
|
|
14
13
|
|
|
15
14
|
# Using DeepSeek in LobeChat
|
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: Using Groq in LobeChat
|
|
3
3
|
description: >-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
LobeChat for optimal performance.
|
|
4
|
+
Learn how to obtain GroqCloud API keys and configure Groq in LobeChat for
|
|
5
|
+
optimal performance.
|
|
7
6
|
tags:
|
|
8
|
-
- Groq
|
|
9
|
-
- LobeChat
|
|
10
|
-
- AI solutions
|
|
11
7
|
- LPU Inference Engine
|
|
12
8
|
- GroqCloud
|
|
9
|
+
- LLAMA3
|
|
10
|
+
- Qwen2
|
|
13
11
|
- API keys
|
|
14
|
-
-
|
|
12
|
+
- Web UI
|
|
15
13
|
---
|
|
16
14
|
|
|
17
15
|
# Using Groq in LobeChat
|
|
@@ -1,15 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: 在 LobeChat 中使用 Groq
|
|
3
|
-
description:
|
|
4
|
-
通过 LobeChat 与 Groq Cloud 的集成,利用 Groq 的技术加速大语言模型的运行。了解如何获取 GroqCloud API Key,并在
|
|
5
|
-
LobeChat 中配置 Groq,体验 Groq 强大的性能。
|
|
3
|
+
description: 了解如何获取 GroqCloud API Key,并在 LobeChat 中配置 Groq,体验 Groq 强大的性能。
|
|
6
4
|
tags:
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
-
|
|
10
|
-
-
|
|
5
|
+
- LLAMA3
|
|
6
|
+
- Qwen2
|
|
7
|
+
- API keys
|
|
8
|
+
- Web UI
|
|
11
9
|
- API Key
|
|
12
|
-
- GroqCloud
|
|
13
10
|
---
|
|
14
11
|
|
|
15
12
|
# 在 LobeChat 中使用 Groq
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
---
|
|
2
|
-
title: Using OpenAI in LobeChat
|
|
2
|
+
title: Using OpenAI in LobeChat
|
|
3
3
|
description: >-
|
|
4
|
-
Learn how to integrate
|
|
5
|
-
|
|
6
|
-
an OpenAI model for your AI assistant.
|
|
4
|
+
Learn how to integrate OpenAI API Key in LobeChat. Support GPT-4o /
|
|
5
|
+
GPT-4-turbo / GPT-4-vision
|
|
7
6
|
tags:
|
|
8
7
|
- OpenAI
|
|
9
|
-
-
|
|
8
|
+
- ChatGPT
|
|
9
|
+
- GPT-4
|
|
10
|
+
- GPT-4o
|
|
10
11
|
- API Key
|
|
11
|
-
-
|
|
12
|
-
- AI Assistant
|
|
13
|
-
- Conversational AI
|
|
12
|
+
- Web UI
|
|
14
13
|
---
|
|
15
14
|
|
|
16
15
|
# Using OpenAI in LobeChat
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
---
|
|
2
2
|
title: 在 LobeChat 中使用 OpenAI
|
|
3
|
-
description: 学习如何在 LobeChat 中配置和使用 OpenAI
|
|
3
|
+
description: 学习如何在 LobeChat 中配置和使用 OpenAI API Key,支持 GPT-4o / GPT-4-turbo / GPT-4-vision
|
|
4
4
|
tags:
|
|
5
|
-
-
|
|
6
|
-
-
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
-
|
|
5
|
+
- ChatGPT
|
|
6
|
+
- GPT-4
|
|
7
|
+
- GPT-4o
|
|
8
|
+
- API Key
|
|
9
|
+
- Web UI
|
|
10
10
|
---
|
|
11
11
|
|
|
12
12
|
# 在 LobeChat 中使用 OpenAI
|
|
@@ -2,14 +2,9 @@
|
|
|
2
2
|
title: 在 LobeChat 中使用 OpenRouter
|
|
3
3
|
description: 学习如何在 LobeChat 中注册、创建 API 密钥、充值信用额度并配置 OpenRouter,以便开始使用多种优秀大语言模型 API。
|
|
4
4
|
tags:
|
|
5
|
-
- LobeChat
|
|
6
5
|
- OpenRouter
|
|
7
|
-
- API
|
|
8
|
-
-
|
|
9
|
-
- 注册
|
|
10
|
-
- API密钥
|
|
11
|
-
- 信用额度
|
|
12
|
-
- 配置
|
|
6
|
+
- API Key
|
|
7
|
+
- Web UI
|
|
13
8
|
---
|
|
14
9
|
|
|
15
10
|
# 在 LobeChat 中使用 OpenRouter
|
|
@@ -6,11 +6,8 @@ description: >-
|
|
|
6
6
|
and select a model to start chatting.
|
|
7
7
|
tags:
|
|
8
8
|
- Stepfun
|
|
9
|
-
-
|
|
10
|
-
-
|
|
11
|
-
- Step-1 billion-parameter model
|
|
12
|
-
- Step-1V billion-parameter multimodal model
|
|
13
|
-
- Step-2 trillion-parameter MoE language model
|
|
9
|
+
- API key
|
|
10
|
+
- Web UI
|
|
14
11
|
---
|
|
15
12
|
|
|
16
13
|
# Using Stepfun in LobeChat
|
|
@@ -2,11 +2,9 @@
|
|
|
2
2
|
title: 在 LobeChat 中使用 Stepfun Stepfun 阶跃星辰
|
|
3
3
|
description: 学习如何在 LobeChat 中配置和使用 Stepfun 阶跃星辰的人工智能模型,包括获取 API 密钥和选择模型开始对话。
|
|
4
4
|
tags:
|
|
5
|
-
- LobeChat
|
|
6
5
|
- Stepfun 阶跃星辰
|
|
7
|
-
-
|
|
8
|
-
-
|
|
9
|
-
- 对话模型
|
|
6
|
+
- API key
|
|
7
|
+
- Web UI
|
|
10
8
|
---
|
|
11
9
|
|
|
12
10
|
# 在 LobeChat 中使用 Stepfun 阶跃星辰
|
package/locales/ar/error.json
CHANGED
|
@@ -63,6 +63,7 @@
|
|
|
63
63
|
"NoOpenAIAPIKey": "مفتاح API الخاص بـ OpenAI فارغ، يرجى إضافة مفتاح API الخاص بـ OpenAI",
|
|
64
64
|
"OllamaBizError": "خطأ في طلب خدمة Ollama، يرجى التحقق من المعلومات التالية أو إعادة المحاولة",
|
|
65
65
|
"OllamaServiceUnavailable": "خدمة Ollama غير متوفرة، يرجى التحقق من تشغيل Ollama بشكل صحيح أو إعدادات الـ Ollama للاتصال عبر النطاقات",
|
|
66
|
+
"OpenAIBizError": "طلب خدمة OpenAI خاطئ، يرجى التحقق من المعلومات التالية أو إعادة المحاولة",
|
|
66
67
|
"PluginApiNotFound": "عذرًا، لا يوجد API للإضافة في وصف الإضافة، يرجى التحقق من تطابق طريقة الطلب الخاصة بك مع API الوصف",
|
|
67
68
|
"PluginApiParamsError": "عذرًا، فشلت التحقق من صحة معلمات الطلب للإضافة، يرجى التحقق من تطابق المعلمات مع معلومات الوصف",
|
|
68
69
|
"PluginGatewayError": "عذرًا، حدث خطأ في بوابة الإضافة، يرجى التحقق من تكوين بوابة الإضافة",
|
|
@@ -75,7 +76,7 @@
|
|
|
75
76
|
"PluginOpenApiInitError": "عذرًا، فشل تهيئة عميل OpenAPI، يرجى التحقق من معلومات تكوين OpenAPI",
|
|
76
77
|
"PluginServerError": "خطأ في استجابة الخادم لطلب الإضافة، يرجى التحقق من ملف وصف الإضافة وتكوين الإضافة وتنفيذ الخادم وفقًا لمعلومات الخطأ أدناه",
|
|
77
78
|
"PluginSettingsInvalid": "تحتاج هذه الإضافة إلى تكوين صحيح قبل الاستخدام، يرجى التحقق من صحة تكوينك",
|
|
78
|
-
"
|
|
79
|
+
"ProviderBizError": "طلب خدمة {{provider}} خاطئ، يرجى التحقق من المعلومات التالية أو إعادة المحاولة"
|
|
79
80
|
},
|
|
80
81
|
"stt": {
|
|
81
82
|
"responseError": "فشل طلب الخدمة، يرجى التحقق من الإعدادات أو إعادة المحاولة"
|