@lobehub/chat 0.122.6 → 0.122.7
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/README.md +8 -8
- package/README.zh-CN.md +8 -8
- package/docs/Deployment/Docker-Deployment.md +1 -1
- package/docs/Deployment/Docker-Deployment.zh-CN.md +1 -1
- package/docs/Deployment/Environment-Variable.md +2 -2
- package/docs/Deployment/Environment-Variable.zh-CN.md +2 -2
- package/package.json +1 -1
- package/src/database/core/migrations/migrateSettingsToUser/fixtures/input.json +1 -1
- package/src/database/core/migrations/migrateSettingsToUser/fixtures/output.json +1 -1
- package/src/store/global/slices/settings/selectors/__snapshots__/modelProvider.test.ts.snap +4 -4
- package/src/store/global/slices/settings/selectors/modelProvider.test.ts +4 -4
- package/src/types/llm.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,31 @@
|
|
|
2
2
|
|
|
3
3
|
# Changelog
|
|
4
4
|
|
|
5
|
+
### [Version 0.122.7](https://github.com/lobehub/lobe-chat/compare/v0.122.6...v0.122.7)
|
|
6
|
+
|
|
7
|
+
<sup>Released on **2024-02-02**</sup>
|
|
8
|
+
|
|
9
|
+
#### 💄 Styles
|
|
10
|
+
|
|
11
|
+
- **misc**: Update the gpt-4-1106-preview model to gpt-4-0125-preview.
|
|
12
|
+
|
|
13
|
+
<br/>
|
|
14
|
+
|
|
15
|
+
<details>
|
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
|
17
|
+
|
|
18
|
+
#### Styles
|
|
19
|
+
|
|
20
|
+
- **misc**: Update the gpt-4-1106-preview model to gpt-4-0125-preview, closes [#1210](https://github.com/lobehub/lobe-chat/issues/1210) ([fe623e1](https://github.com/lobehub/lobe-chat/commit/fe623e1))
|
|
21
|
+
|
|
22
|
+
</details>
|
|
23
|
+
|
|
24
|
+
<div align="right">
|
|
25
|
+
|
|
26
|
+
[](#readme-top)
|
|
27
|
+
|
|
28
|
+
</div>
|
|
29
|
+
|
|
5
30
|
### [Version 0.122.6](https://github.com/lobehub/lobe-chat/compare/v0.122.5...v0.122.6)
|
|
6
31
|
|
|
7
32
|
<sup>Released on **2024-01-31**</sup>
|
package/README.md
CHANGED
|
@@ -225,14 +225,14 @@ Our marketplace is not just a showcase platform but also a collaborative space.
|
|
|
225
225
|
|
|
226
226
|
<!-- AGENT LIST -->
|
|
227
227
|
|
|
228
|
-
| Recent Submits
|
|
229
|
-
|
|
|
230
|
-
| [SagePathfinder](https://chat-preview.lobehub.com/market?agent=sage-pathfinder)<br/><sup>By **[Ajasra](https://github.com/Ajasra)** on **2024-01-31**</sup>
|
|
231
|
-
| [
|
|
232
|
-
| [
|
|
233
|
-
| [
|
|
234
|
-
|
|
235
|
-
> 📊 Total agents: [<kbd>**
|
|
228
|
+
| Recent Submits | Description |
|
|
229
|
+
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
230
|
+
| [SagePathfinder](https://chat-preview.lobehub.com/market?agent=sage-pathfinder)<br/><sup>By **[Ajasra](https://github.com/Ajasra)** on **2024-01-31**</sup> | Expert in personal growth coaching with a focus on stoicism, deep reflection, and strategic questioning.<br/>`personal-growth` `coaching` `reflection` `goal-setting` `well-being` |
|
|
231
|
+
| [Variable Naming Master](https://chat-preview.lobehub.com/market?agent=variable-naming-assistant)<br/><sup>By **[undefinedZNN](https://github.com/undefinedZNN)** on **2024-01-31**</sup> | Master the art of programming variable naming, providing multiple suggestions and explaining their usage scenarios.<br/>`variable-naming` `programming` `suggestions` |
|
|
232
|
+
| [C1 Level English Language Facilitator](https://chat-preview.lobehub.com/market?agent=c-1-level-english)<br/><sup>By **[MYSeaIT](https://github.com/MYSeaIT)** on **2024-01-30**</sup> | English Conversation Partner for C1 Level<br/>`english-conversation` `c-1-level` `language-proficiency` `language-coaching` |
|
|
233
|
+
| [A2 English Conversation Facilitator](https://chat-preview.lobehub.com/market?agent=english-a-2-level)<br/><sup>By **[MYSeaIT](https://github.com/MYSeaIT)** on **2024-01-30**</sup> | A2 Level English Conversation Partner Bot: Enhancing language skills for basic English learners.<br/>`english-conversation` `language-learning` `teaching` |
|
|
234
|
+
|
|
235
|
+
> 📊 Total agents: [<kbd>**147**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
|
|
236
236
|
|
|
237
237
|
<!-- AGENT LIST -->
|
|
238
238
|
|
package/README.zh-CN.md
CHANGED
|
@@ -205,14 +205,14 @@ LobeChat 的插件生态系统是其核心功能的重要扩展,它极大地
|
|
|
205
205
|
|
|
206
206
|
<!-- AGENT LIST -->
|
|
207
207
|
|
|
208
|
-
| 最近新增
|
|
209
|
-
|
|
|
210
|
-
| [SagePathfinder](https://chat-preview.lobehub.com/market?agent=sage-pathfinder)<br/><sup>By **[Ajasra](https://github.com/Ajasra)** on **2024-01-31**</sup>
|
|
211
|
-
| [
|
|
212
|
-
| [
|
|
213
|
-
| [
|
|
214
|
-
|
|
215
|
-
> 📊 Total agents: [<kbd>**
|
|
208
|
+
| 最近新增 | 助手说明 |
|
|
209
|
+
| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------- |
|
|
210
|
+
| [SagePathfinder](https://chat-preview.lobehub.com/market?agent=sage-pathfinder)<br/><sup>By **[Ajasra](https://github.com/Ajasra)** on **2024-01-31**</sup> | 专注于斯多葛主义、深度反思和战略性提问的个人成长教练专家。<br/>`个人成长` `教练` `反思` `目标设定` `幸福感` |
|
|
211
|
+
| [变量命名大师](https://chat-preview.lobehub.com/market?agent=variable-naming-assistant)<br/><sup>By **[undefinedZNN](https://github.com/undefinedZNN)** on **2024-01-31**</sup> | 精通编程变量命名,提供多个建议并解释使用场景。<br/>`变量命名` `编程` `建议` |
|
|
212
|
+
| [C1 Level English Language Facilitator](https://chat-preview.lobehub.com/market?agent=c-1-level-english)<br/><sup>By **[MYSeaIT](https://github.com/MYSeaIT)** on **2024-01-30**</sup> | English Conversation Partner for C1 Level<br/>`english-conversation` `c-1-level` `language-proficiency` `language-coaching` |
|
|
213
|
+
| [A2 英语会话辅导员](https://chat-preview.lobehub.com/market?agent=english-a-2-level)<br/><sup>By **[MYSeaIT](https://github.com/MYSeaIT)** on **2024-01-30**</sup> | A2 级别英语会话伙伴机器人:提升基础英语学习者的语言能力。<br/>`英语会话` `语言学习` `教学` |
|
|
214
|
+
|
|
215
|
+
> 📊 Total agents: [<kbd>**147**</kbd> ](https://github.com/lobehub/lobe-chat-agents)
|
|
216
216
|
|
|
217
217
|
<!-- AGENT LIST -->
|
|
218
218
|
|
|
@@ -81,7 +81,7 @@ First, create a `lobe.env` configuration file with various environment variables
|
|
|
81
81
|
OPENAI_API_KEY=sk-xxxx
|
|
82
82
|
OPENAI_PROXY_URL=https://api-proxy.com/v1
|
|
83
83
|
ACCESS_CODE=arthals2333
|
|
84
|
-
CUSTOM_MODELS=-gpt-4,-gpt-4-32k,-gpt-3.5-turbo-16k,gpt-3.5-turbo-1106=gpt-3.5-turbo-16k,gpt-4-
|
|
84
|
+
CUSTOM_MODELS=-gpt-4,-gpt-4-32k,-gpt-3.5-turbo-16k,gpt-3.5-turbo-1106=gpt-3.5-turbo-16k,gpt-4-0125-preview=gpt-4-turbo,gpt-4-vision-preview=gpt-4-vision
|
|
85
85
|
```
|
|
86
86
|
|
|
87
87
|
Then, you can use the following script to automatically update:
|
|
@@ -81,7 +81,7 @@ $ docker run -d -p 3210:3210 \
|
|
|
81
81
|
OPENAI_API_KEY=sk-xxxx
|
|
82
82
|
OPENAI_PROXY_URL=https://api-proxy.com/v1
|
|
83
83
|
ACCESS_CODE=arthals2333
|
|
84
|
-
CUSTOM_MODELS=-gpt-4,-gpt-4-32k,-gpt-3.5-turbo-16k,gpt-3.5-turbo-1106=gpt-3.5-turbo-16k,gpt-4-
|
|
84
|
+
CUSTOM_MODELS=-gpt-4,-gpt-4-32k,-gpt-3.5-turbo-16k,gpt-3.5-turbo-1106=gpt-3.5-turbo-16k,gpt-4-0125-preview=gpt-4-turbo,gpt-4-vision-preview=gpt-4-vision
|
|
85
85
|
```
|
|
86
86
|
|
|
87
87
|
然后,你可以使用以下脚本来自动更新:
|
|
@@ -37,9 +37,9 @@ LobeChat provides additional configuration options during deployment, which can
|
|
|
37
37
|
- Type: Optional
|
|
38
38
|
- Description: Used to control the model list. Use `+` to add a model, `-` to hide a model, and `model_name=display_name` to customize the display name of a model, separated by commas.
|
|
39
39
|
- Default: `-`
|
|
40
|
-
- Example: `+qwen-7b-chat,+glm-6b,-gpt-3.5-turbo,gpt-4-
|
|
40
|
+
- Example: `+qwen-7b-chat,+glm-6b,-gpt-3.5-turbo,gpt-4-0125-preview=gpt-4-turbo`
|
|
41
41
|
|
|
42
|
-
The above example adds `qwen-7b-chat` and `glm-6b` to the model list, removes `gpt-3.5-turbo` from the list, and displays the model name `gpt-4-
|
|
42
|
+
The above example adds `qwen-7b-chat` and `glm-6b` to the model list, removes `gpt-3.5-turbo` from the list, and displays the model name `gpt-4-0125-preview` as `gpt-4-turbo`. If you want to disable all models first and then enable specific models, you can use `-all,+gpt-3.5-turbo`, which means only `gpt-3.5-turbo` will be enabled.
|
|
43
43
|
|
|
44
44
|
## OpenAI
|
|
45
45
|
|
|
@@ -37,9 +37,9 @@ LobeChat 在部署时提供了一些额外的配置项,使用环境变量进
|
|
|
37
37
|
- 类型:可选
|
|
38
38
|
- 描述:用来控制模型列表,使用 `+` 增加一个模型,使用 `-` 来隐藏一个模型,使用 `模型名=展示名` 来自定义模型的展示名,用英文逗号隔开。
|
|
39
39
|
- 默认值:`-`
|
|
40
|
-
- 示例:`+qwen-7b-chat,+glm-6b,-gpt-3.5-turbo,gpt-4-
|
|
40
|
+
- 示例:`+qwen-7b-chat,+glm-6b,-gpt-3.5-turbo,gpt-4-0125-preview=gpt-4-turbo`
|
|
41
41
|
|
|
42
|
-
上面示例表示增加 `qwen-7b-chat` 和 `glm-6b` 到模型列表,而从列表中删除 `gpt-3.5-turbo`,并将 `gpt-4-
|
|
42
|
+
上面示例表示增加 `qwen-7b-chat` 和 `glm-6b` 到模型列表,而从列表中删除 `gpt-3.5-turbo`,并将 `gpt-4-0125-preview` 模型名字展示为 `gpt-4-turbo`。如果你想先禁用所有模型,再启用指定模型,可以使用 `-all,+gpt-3.5-turbo`,则表示仅启用 `gpt-3.5-turbo`。
|
|
43
43
|
|
|
44
44
|
## OpenAI
|
|
45
45
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lobehub/chat",
|
|
3
|
-
"version": "0.122.
|
|
3
|
+
"version": "0.122.7",
|
|
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",
|
|
@@ -12,7 +12,7 @@ exports[`modelProviderSelectors > CUSTOM_MODELS > custom deletion, addition, and
|
|
|
12
12
|
},
|
|
13
13
|
{
|
|
14
14
|
"displayName": "gpt-4-32k",
|
|
15
|
-
"name": "gpt-4-
|
|
15
|
+
"name": "gpt-4-0125-preview",
|
|
16
16
|
},
|
|
17
17
|
]
|
|
18
18
|
`;
|
|
@@ -45,7 +45,7 @@ exports[`modelProviderSelectors > CUSTOM_MODELS > duplicate naming model 1`] = `
|
|
|
45
45
|
},
|
|
46
46
|
{
|
|
47
47
|
"displayName": "gpt-4-32k",
|
|
48
|
-
"name": "gpt-4-
|
|
48
|
+
"name": "gpt-4-0125-preview",
|
|
49
49
|
},
|
|
50
50
|
]
|
|
51
51
|
`;
|
|
@@ -73,8 +73,8 @@ exports[`modelProviderSelectors > CUSTOM_MODELS > only add the model 1`] = `
|
|
|
73
73
|
"name": "gpt-4-32k",
|
|
74
74
|
},
|
|
75
75
|
{
|
|
76
|
-
"displayName": "gpt-4-
|
|
77
|
-
"name": "gpt-4-
|
|
76
|
+
"displayName": "gpt-4-0125-preview",
|
|
77
|
+
"name": "gpt-4-0125-preview",
|
|
78
78
|
},
|
|
79
79
|
{
|
|
80
80
|
"displayName": "gpt-4-vision-preview",
|
|
@@ -7,7 +7,7 @@ describe('modelProviderSelectors', () => {
|
|
|
7
7
|
const s = {
|
|
8
8
|
serverConfig: {
|
|
9
9
|
customModelName:
|
|
10
|
-
'-all,+llama,+claude-2,-gpt-3.5-turbo,gpt-4-
|
|
10
|
+
'-all,+llama,+claude-2,-gpt-3.5-turbo,gpt-4-0125-preview=gpt-4-turbo,gpt-4-0125-preview=gpt-4-32k',
|
|
11
11
|
},
|
|
12
12
|
settings: {
|
|
13
13
|
languageModel: {
|
|
@@ -27,7 +27,7 @@ describe('modelProviderSelectors', () => {
|
|
|
27
27
|
settings: {
|
|
28
28
|
languageModel: {
|
|
29
29
|
openAI: {
|
|
30
|
-
customModelName: 'gpt-4-
|
|
30
|
+
customModelName: 'gpt-4-0125-preview=gpt-4-turbo,gpt-4-0125-preview=gpt-4-32k',
|
|
31
31
|
},
|
|
32
32
|
},
|
|
33
33
|
},
|
|
@@ -70,8 +70,8 @@ describe('modelProviderSelectors', () => {
|
|
|
70
70
|
name: 'gpt-4-32k',
|
|
71
71
|
},
|
|
72
72
|
{
|
|
73
|
-
displayName: 'gpt-4-
|
|
74
|
-
name: 'gpt-4-
|
|
73
|
+
displayName: 'gpt-4-0125-preview',
|
|
74
|
+
name: 'gpt-4-0125-preview',
|
|
75
75
|
},
|
|
76
76
|
{
|
|
77
77
|
displayName: 'gpt-4-vision-preview',
|