@lobehub/chat 1.19.6 → 1.19.8

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.

Potentially problematic release.


This version of @lobehub/chat might be problematic. Click here for more details.

package/CHANGELOG.md CHANGED
@@ -2,6 +2,56 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ### [Version 1.19.8](https://github.com/lobehub/lobe-chat/compare/v1.19.7...v1.19.8)
6
+
7
+ <sup>Released on **2024-09-19**</sup>
8
+
9
+ #### 💄 Styles
10
+
11
+ - **misc**: Delete siliconflow outdated model & disable stepfun functioncall.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### Styles
19
+
20
+ - **misc**: Delete siliconflow outdated model & disable stepfun functioncall, closes [#4033](https://github.com/lobehub/lobe-chat/issues/4033) ([08c53eb](https://github.com/lobehub/lobe-chat/commit/08c53eb))
21
+
22
+ </details>
23
+
24
+ <div align="right">
25
+
26
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
27
+
28
+ </div>
29
+
30
+ ### [Version 1.19.7](https://github.com/lobehub/lobe-chat/compare/v1.19.6...v1.19.7)
31
+
32
+ <sup>Released on **2024-09-19**</sup>
33
+
34
+ #### 💄 Styles
35
+
36
+ - **misc**: Add siliconflow qwen2.5 model.
37
+
38
+ <br/>
39
+
40
+ <details>
41
+ <summary><kbd>Improvements and Fixes</kbd></summary>
42
+
43
+ #### Styles
44
+
45
+ - **misc**: Add siliconflow qwen2.5 model, closes [#4024](https://github.com/lobehub/lobe-chat/issues/4024) ([06ffd99](https://github.com/lobehub/lobe-chat/commit/06ffd99))
46
+
47
+ </details>
48
+
49
+ <div align="right">
50
+
51
+ [![](https://img.shields.io/badge/-BACK_TO_TOP-151515?style=flat-square)](#readme-top)
52
+
53
+ </div>
54
+
5
55
  ### [Version 1.19.6](https://github.com/lobehub/lobe-chat/compare/v1.19.5...v1.19.6)
6
56
 
7
57
  <sup>Released on **2024-09-19**</sup>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "1.19.6",
3
+ "version": "1.19.8",
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",
@@ -43,17 +43,6 @@ const Qwen: ModelProviderCard = {
43
43
  },
44
44
  tokens: 32_768,
45
45
  },
46
- {
47
- description: '通义千问代码模型。',
48
- displayName: 'Qwen Coder',
49
- id: 'qwen-coder-turbo-latest',
50
- pricing: {
51
- currency: 'CNY',
52
- input: 2,
53
- output: 6,
54
- },
55
- tokens: 131_072,
56
- },
57
46
  {
58
47
  description:
59
48
  '通义千问超大规模语言模型,支持长文本上下文,以及基于长文档、多文档等多个场景的对话功能。',
@@ -118,11 +107,27 @@ const Qwen: ModelProviderCard = {
118
107
  },
119
108
  tokens: 4096,
120
109
  },
110
+ {
111
+ description: '通义千问代码模型。',
112
+ displayName: 'Qwen Coder Turbo',
113
+ id: 'qwen-coder-turbo-latest',
114
+ pricing: {
115
+ currency: 'CNY',
116
+ input: 2,
117
+ output: 6,
118
+ },
119
+ tokens: 131_072,
120
+ },
121
121
  {
122
122
  description: '通义千问2.5对外开源的7B规模的模型。',
123
123
  displayName: 'Qwen2.5 7B',
124
124
  functionCall: true,
125
125
  id: 'qwen2.5-7b-instruct',
126
+ pricing: {
127
+ currency: 'CNY',
128
+ input: 1,
129
+ output: 2,
130
+ },
126
131
  tokens: 131_072,
127
132
  },
128
133
  {
@@ -130,6 +135,11 @@ const Qwen: ModelProviderCard = {
130
135
  displayName: 'Qwen2.5 14B',
131
136
  functionCall: true,
132
137
  id: 'qwen2.5-14b-instruct',
138
+ pricing: {
139
+ currency: 'CNY',
140
+ input: 2,
141
+ output: 6,
142
+ },
133
143
  tokens: 131_072,
134
144
  },
135
145
  {
@@ -137,6 +147,11 @@ const Qwen: ModelProviderCard = {
137
147
  displayName: 'Qwen2.5 32B',
138
148
  functionCall: true,
139
149
  id: 'qwen2.5-32b-instruct',
150
+ pricing: {
151
+ currency: 'CNY',
152
+ input: 3.5,
153
+ output: 7,
154
+ },
140
155
  tokens: 131_072,
141
156
  },
142
157
  {
@@ -144,15 +159,13 @@ const Qwen: ModelProviderCard = {
144
159
  displayName: 'Qwen2.5 72B',
145
160
  functionCall: true,
146
161
  id: 'qwen2.5-72b-instruct',
162
+ pricing: {
163
+ currency: 'CNY',
164
+ input: 4,
165
+ output: 12,
166
+ },
147
167
  tokens: 131_072,
148
168
  },
149
- {
150
- description: '通义千问2对外开源的57B规模14B激活参数的MOE模型。',
151
- displayName: 'Qwen2 57B A14B MoE',
152
- functionCall: true,
153
- id: 'qwen2-57b-a14b-instruct',
154
- tokens: 65_536,
155
- },
156
169
  {
157
170
  description: 'Qwen-Math 模型具有强大的数学解题能力。',
158
171
  displayName: 'Qwen2.5 Math 1.5B',
@@ -168,12 +181,22 @@ const Qwen: ModelProviderCard = {
168
181
  description: 'Qwen-Math 模型具有强大的数学解题能力。',
169
182
  displayName: 'Qwen2.5 Math 7B',
170
183
  id: 'qwen2.5-math-7b-instruct',
184
+ pricing: {
185
+ currency: 'CNY',
186
+ input: 1,
187
+ output: 2,
188
+ },
171
189
  tokens: 4096,
172
190
  },
173
191
  {
174
192
  description: 'Qwen-Math 模型具有强大的数学解题能力。',
175
193
  displayName: 'Qwen2.5 Math 72B',
176
194
  id: 'qwen2.5-math-72b-instruct',
195
+ pricing: {
196
+ currency: 'CNY',
197
+ input: 4,
198
+ output: 12,
199
+ },
177
200
  tokens: 4096,
178
201
  },
179
202
  {
@@ -191,12 +214,22 @@ const Qwen: ModelProviderCard = {
191
214
  description: '通义千问代码模型开源版。',
192
215
  displayName: 'Qwen2.5 Coder 7B',
193
216
  id: 'qwen2.5-coder-7b-instruct',
217
+ pricing: {
218
+ currency: 'CNY',
219
+ input: 1,
220
+ output: 2,
221
+ },
194
222
  tokens: 131_072,
195
223
  },
196
224
  {
197
225
  description: '以 Qwen-7B 语言模型初始化,添加图像模型,图像输入分辨率为448的预训练模型。',
198
226
  displayName: 'Qwen VL',
199
227
  id: 'qwen-vl-v1',
228
+ pricing: {
229
+ currency: 'CNY',
230
+ input: 0,
231
+ output: 0,
232
+ },
200
233
  tokens: 8000,
201
234
  vision: true,
202
235
  },
@@ -204,11 +237,16 @@ const Qwen: ModelProviderCard = {
204
237
  description: '通义千问VL支持灵活的交互方式,包括多图、多轮问答、创作等能力的模型。',
205
238
  displayName: 'Qwen VL Chat',
206
239
  id: 'qwen-vl-chat-v1',
240
+ pricing: {
241
+ currency: 'CNY',
242
+ input: 0,
243
+ output: 0,
244
+ },
207
245
  tokens: 8000,
208
246
  vision: true,
209
247
  },
210
248
  ],
211
- checkModel: 'qwen-turbo',
249
+ checkModel: 'qwen-turbo-latest',
212
250
  description:
213
251
  '通义千问是阿里云自主研发的超大规模语言模型,具有强大的自然语言理解和生成能力。它可以回答各种问题、创作文字内容、表达观点看法、撰写代码等,在多个领域发挥作用。',
214
252
  disableBrowserRequest: true,
@@ -4,132 +4,127 @@ import { ModelProviderCard } from '@/types/llm';
4
4
  const SiliconCloud: ModelProviderCard = {
5
5
  chatModels: [
6
6
  {
7
- description: 'Qwen2 是全新的大型语言模型系列,旨在优化指令式任务的处理。',
8
- displayName: 'Qwen2 1.5B',
9
- id: 'Qwen/Qwen2-1.5B-Instruct',
10
- tokens: 32_768,
11
- },
12
- {
13
- description: 'Qwen2 是全新的大型语言模型系列,具有更强的理解和生成能力。',
14
- displayName: 'Qwen2 7B',
15
- enabled: true,
16
- id: 'Qwen/Qwen2-7B-Instruct',
17
- tokens: 32_768,
18
- },
19
- {
20
- description: 'Qwen2 是全新的系列,57B A14B 型号在指令任务中表现卓越。',
21
- displayName: 'Qwen2 57B A14B',
22
- id: 'Qwen/Qwen2-57B-A14B-Instruct',
23
- tokens: 32_768,
24
- },
25
- {
26
- description: 'Qwen2 是先进的通用语言模型,支持多种指令类型。',
27
- displayName: 'Qwen2 72B',
7
+ description: 'DeepSeek V2.5 集合了先前版本的优秀特征,增强了通用和编码能力。',
8
+ displayName: 'DeepSeek V2.5',
28
9
  enabled: true,
29
- id: 'Qwen/Qwen2-72B-Instruct',
10
+ id: 'deepseek-ai/DeepSeek-V2.5',
11
+ pricing: {
12
+ currency: 'CNY',
13
+ input: 1.33,
14
+ output: 1.33,
15
+ },
30
16
  tokens: 32_768,
31
17
  },
32
18
  {
33
- description: 'Qwen2-Math 专注于数学领域的问题求解,为高难度题提供专业解答。',
34
- displayName: 'Qwen2 Math 72B',
19
+ description: 'Qwen2.5 是全新的大型语言模型系列,旨在优化指令式任务的处理。',
20
+ displayName: 'Qwen2.5 7B',
35
21
  enabled: true,
36
- id: 'Qwen/Qwen2-Math-72B-Instruct',
22
+ id: 'Qwen/Qwen2.5-7B-Instruct',
23
+ pricing: {
24
+ currency: 'CNY',
25
+ input: 0,
26
+ output: 0,
27
+ },
37
28
  tokens: 32_768,
38
29
  },
39
30
  {
40
- description: 'Qwen1.5 通过结合高级预训练和微调提升对话表达能力。',
41
- displayName: 'Qwen1.5 7B',
42
- id: 'Qwen/Qwen1.5-7B-Chat',
31
+ description: 'Qwen2.5 是全新的大型语言模型系列,旨在优化指令式任务的处理。',
32
+ displayName: 'Qwen2.5 14B',
33
+ id: 'Qwen/Qwen2.5-14B-Instruct',
34
+ pricing: {
35
+ currency: 'CNY',
36
+ input: 0.7,
37
+ output: 0.7,
38
+ },
43
39
  tokens: 32_768,
44
40
  },
45
41
  {
46
- description: 'Qwen1.5 通过大规模数据集训练,擅长复杂的语言任务。',
47
- displayName: 'Qwen1.5 14B',
48
- id: 'Qwen/Qwen1.5-14B-Chat',
42
+ description: 'Qwen2.5 是全新的大型语言模型系列,旨在优化指令式任务的处理。',
43
+ displayName: 'Qwen2.5 32B',
44
+ id: 'Qwen/Qwen2.5-32B-Instruct',
45
+ pricing: {
46
+ currency: 'CNY',
47
+ input: 1.26,
48
+ output: 1.26,
49
+ },
49
50
  tokens: 32_768,
50
51
  },
51
52
  {
52
- description: 'Qwen1.5 具备多领域问答和文本生成的能力。',
53
- displayName: 'Qwen1.5 32B',
54
- id: 'Qwen/Qwen1.5-32B-Chat',
53
+ description: 'Qwen2.5 是全新的大型语言模型系列,具有更强的理解和生成能力。',
54
+ displayName: 'Qwen2.5 72B',
55
+ enabled: true,
56
+ id: 'Qwen/Qwen2.5-72B-Instruct',
57
+ pricing: {
58
+ currency: 'CNY',
59
+ input: 4.13,
60
+ output: 4.13,
61
+ },
55
62
  tokens: 32_768,
56
63
  },
57
64
  {
58
- description: '作为Qwen2 的测试版,Qwen1.5 使用大规模数据实现了更精确的对话功能。',
59
- displayName: 'Qwen1.5 110B',
60
- id: 'Qwen/Qwen1.5-110B-Chat',
65
+ description: 'Qwen2-Math 专注于数学领域的问题求解,为高难度题提供专业解答。',
66
+ displayName: 'Qwen2 Math 72B',
67
+ id: 'Qwen/Qwen2-Math-72B-Instruct',
68
+ pricing: {
69
+ currency: 'CNY',
70
+ input: 4.13,
71
+ output: 4.13,
72
+ },
61
73
  tokens: 32_768,
62
74
  },
63
- {
64
- description: 'Yi-1.5 是Yi系列的进化版本,拥有高质量的预训练和丰富的微调数据。',
65
- displayName: 'Yi-1.5 6B',
66
- id: '01-ai/Yi-1.5-6B-Chat',
67
- tokens: 4096,
68
- },
69
75
  {
70
76
  description: 'Yi-1.5 9B 支持16K Tokens, 提供高效、流畅的语言生成能力。',
71
77
  displayName: 'Yi-1.5 9B',
72
- enabled: true,
73
78
  id: '01-ai/Yi-1.5-9B-Chat-16K',
79
+ pricing: {
80
+ currency: 'CNY',
81
+ input: 0,
82
+ output: 0,
83
+ },
74
84
  tokens: 16_384,
75
85
  },
76
86
  {
77
87
  description: 'Yi-1.5 34B, 以丰富的训练样本在行业应用中提供优越表现。',
78
88
  displayName: 'Yi-1.5 34B',
79
- enabled: true,
80
89
  id: '01-ai/Yi-1.5-34B-Chat-16K',
90
+ pricing: {
91
+ currency: 'CNY',
92
+ input: 1.26,
93
+ output: 1.26,
94
+ },
81
95
  tokens: 16_384,
82
96
  },
83
- {
84
- description: '作为双语会话语言模型, ChatGLM3能处理中英文转换任务。',
85
- displayName: 'GLM-3 6B',
86
- id: 'THUDM/chatglm3-6b',
87
- tokens: 32_768,
88
- },
89
97
  {
90
98
  description: 'GLM-4 9B 开放源码版本,为会话应用提供优化后的对话体验。',
91
99
  displayName: 'GLM-4 9B',
92
- enabled: true,
93
100
  id: 'THUDM/glm-4-9b-chat',
101
+ pricing: {
102
+ currency: 'CNY',
103
+ input: 0,
104
+ output: 0,
105
+ },
94
106
  tokens: 32_768,
95
107
  },
96
108
  {
97
109
  description: 'InternLM2.5 提供多场景下的智能对话解决方案。',
98
110
  displayName: 'Internlm 2.5 7B',
99
- enabled: true,
100
111
  id: 'internlm/internlm2_5-7b-chat',
112
+ pricing: {
113
+ currency: 'CNY',
114
+ input: 0,
115
+ output: 0,
116
+ },
101
117
  tokens: 32_768,
102
118
  },
103
119
  {
104
120
  description: '创新的开源模型InternLM2.5,通过大规模的参数提高了对话智能。',
105
121
  displayName: 'Internlm 2.5 20B',
106
- enabled: true,
107
122
  id: 'internlm/internlm2_5-20b-chat',
108
- tokens: 32_768,
109
- },
110
- {
111
- description: 'DeepSeek V2.5 集合了先前版本的优秀特征,增强了通用和编码能力。',
112
- displayName: 'DeepSeek V2.5',
113
- enabled: true,
114
- id: 'deepseek-ai/DeepSeek-V2.5',
115
- tokens: 32_768,
116
- },
117
- {
118
- description: 'DeepSeek V2 具备67亿参数,支持英中文本处理。',
119
- displayName: 'DeepSeek V2 Chat',
120
- id: 'deepseek-ai/DeepSeek-V2-Chat',
121
- tokens: 32_768,
122
- },
123
- {
124
- description: 'DeepSeek Coder V2 为代码任务设计, 专注于高效的代码生成。',
125
- displayName: 'DeepSeek V2 Coder',
126
- id: 'deepseek-ai/DeepSeek-Coder-V2-Instruct',
127
- tokens: 32_768,
128
- },
129
- {
130
- description: 'DeepSeek 67B 是为高复杂性对话训练的先进模型。',
131
- displayName: 'DeepSeek LLM 67B',
132
- id: 'deepseek-ai/deepseek-llm-67b-chat',
123
+ pricing: {
124
+ currency: 'CNY',
125
+ input: 1,
126
+ output: 1,
127
+ },
133
128
  tokens: 32_768,
134
129
  },
135
130
  {
@@ -137,6 +132,11 @@ const SiliconCloud: ModelProviderCard = {
137
132
  displayName: 'Gemma 2 9B',
138
133
  enabled: true,
139
134
  id: 'google/gemma-2-9b-it',
135
+ pricing: {
136
+ currency: 'CNY',
137
+ input: 0,
138
+ output: 0,
139
+ },
140
140
  tokens: 8192,
141
141
  },
142
142
  {
@@ -144,6 +144,11 @@ const SiliconCloud: ModelProviderCard = {
144
144
  displayName: 'Gemma 2 27B',
145
145
  enabled: true,
146
146
  id: 'google/gemma-2-27b-it',
147
+ pricing: {
148
+ currency: 'CNY',
149
+ input: 1.26,
150
+ output: 1.26,
151
+ },
147
152
  tokens: 8192,
148
153
  },
149
154
  {
@@ -151,6 +156,11 @@ const SiliconCloud: ModelProviderCard = {
151
156
  displayName: 'Llama 3.1 8B',
152
157
  enabled: true,
153
158
  id: 'meta-llama/Meta-Llama-3.1-8B-Instruct',
159
+ pricing: {
160
+ currency: 'CNY',
161
+ input: 0,
162
+ output: 0,
163
+ },
154
164
  tokens: 32_768,
155
165
  },
156
166
  {
@@ -158,6 +168,11 @@ const SiliconCloud: ModelProviderCard = {
158
168
  displayName: 'Llama 3.1 70B',
159
169
  enabled: true,
160
170
  id: 'meta-llama/Meta-Llama-3.1-70B-Instruct',
171
+ pricing: {
172
+ currency: 'CNY',
173
+ input: 4.13,
174
+ output: 4.13,
175
+ },
161
176
  tokens: 32_768,
162
177
  },
163
178
  {
@@ -165,24 +180,11 @@ const SiliconCloud: ModelProviderCard = {
165
180
  displayName: 'Llama 3.1 405B',
166
181
  enabled: true,
167
182
  id: 'meta-llama/Meta-Llama-3.1-405B-Instruct',
168
- tokens: 32_768,
169
- },
170
- {
171
- description: 'LLaMA 3 支持大容量文本生成和指令解析。',
172
- displayName: 'Llama 3 70B',
173
- id: 'meta-llama/Meta-Llama-3-70B-Instruct',
174
- tokens: 8192,
175
- },
176
- {
177
- description: 'Mistral 7B 指令微调模型针对对话场景进行了优化,可用于文本生成和对话任务。',
178
- displayName: 'Mistral 7B',
179
- id: 'mistralai/Mistral-7B-Instruct-v0.2',
180
- tokens: 32_768,
181
- },
182
- {
183
- description: 'Mixtral 8x7B 模型支持多语言输入和输出,可用于文本生成和对话任务。',
184
- displayName: 'Mistral 8x7B',
185
- id: 'mistralai/Mixtral-8x7B-Instruct-v0.1',
183
+ pricing: {
184
+ currency: 'CNY',
185
+ input: 21,
186
+ output: 21,
187
+ },
186
188
  tokens: 32_768,
187
189
  },
188
190
  ],
@@ -8,14 +8,12 @@ const Stepfun: ModelProviderCard = {
8
8
  description: '支持大规模上下文交互,适合复杂对话场景。',
9
9
  displayName: 'Step 2 16K',
10
10
  enabled: true,
11
- functionCall: true,
12
11
  id: 'step-2-16k',
13
12
  tokens: 16_000,
14
13
  },
15
14
  {
16
15
  description: '具备超长上下文处理能力,尤其适合长文档分析。',
17
16
  displayName: 'Step 1 256K',
18
- functionCall: true,
19
17
  id: 'step-1-256k',
20
18
  tokens: 256_000,
21
19
  },
@@ -23,7 +21,6 @@ const Stepfun: ModelProviderCard = {
23
21
  description: '平衡性能与成本,适合一般场景。',
24
22
  displayName: 'Step 1 128K',
25
23
  enabled: true,
26
- functionCall: true,
27
24
  id: 'step-1-128k',
28
25
  tokens: 128_000,
29
26
  },
@@ -31,7 +28,6 @@ const Stepfun: ModelProviderCard = {
31
28
  description: '支持中等长度的对话,适用于多种应用场景。',
32
29
  displayName: 'Step 1 32K',
33
30
  enabled: true,
34
- functionCall: true,
35
31
  id: 'step-1-32k',
36
32
  tokens: 32_000,
37
33
  },
@@ -39,7 +35,6 @@ const Stepfun: ModelProviderCard = {
39
35
  description: '小型模型,适合轻量级任务。',
40
36
  displayName: 'Step 1 8K',
41
37
  enabled: true,
42
- functionCall: true,
43
38
  id: 'step-1-8k',
44
39
  tokens: 8000,
45
40
  },
@@ -47,7 +42,6 @@ const Stepfun: ModelProviderCard = {
47
42
  description: '高速模型,适合实时对话。',
48
43
  displayName: 'Step 1 Flash',
49
44
  enabled: true,
50
- functionCall: true,
51
45
  id: 'step-1-flash',
52
46
  tokens: 8000,
53
47
  },
@@ -55,7 +49,6 @@ const Stepfun: ModelProviderCard = {
55
49
  description: '支持视觉输入,增强多模态交互体验。',
56
50
  displayName: 'Step 1V 32K',
57
51
  enabled: true,
58
- functionCall: true,
59
52
  id: 'step-1v-32k',
60
53
  tokens: 32_000,
61
54
  vision: true,
@@ -64,7 +57,6 @@ const Stepfun: ModelProviderCard = {
64
57
  description: '小型视觉模型,适合基本的图文任务。',
65
58
  displayName: 'Step 1V 8K',
66
59
  enabled: true,
67
- functionCall: true,
68
60
  id: 'step-1v-8k',
69
61
  tokens: 8000,
70
62
  vision: true,