@lobehub/chat 1.80.4 → 1.80.5

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 CHANGED
@@ -2,6 +2,31 @@
2
2
 
3
3
  # Changelog
4
4
 
5
+ ### [Version 1.80.5](https://github.com/lobehub/lobe-chat/compare/v1.80.4...v1.80.5)
6
+
7
+ <sup>Released on **2025-04-17**</sup>
8
+
9
+ #### 💄 Styles
10
+
11
+ - **misc**: Update 360 AI & Taichu & AI21 model list.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### Styles
19
+
20
+ - **misc**: Update 360 AI & Taichu & AI21 model list, closes [#7443](https://github.com/lobehub/lobe-chat/issues/7443) ([60c9ae2](https://github.com/lobehub/lobe-chat/commit/60c9ae2))
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
+
5
30
  ### [Version 1.80.4](https://github.com/lobehub/lobe-chat/compare/v1.80.3...v1.80.4)
6
31
 
7
32
  <sup>Released on **2025-04-17**</sup>
package/changelog/v1.json CHANGED
@@ -1,4 +1,13 @@
1
1
  [
2
+ {
3
+ "children": {
4
+ "improvements": [
5
+ "Update 360 AI & Taichu & AI21 model list."
6
+ ]
7
+ },
8
+ "date": "2025-04-17",
9
+ "version": "1.80.5"
10
+ },
2
11
  {
3
12
  "children": {
4
13
  "improvements": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lobehub/chat",
3
- "version": "1.80.4",
3
+ "version": "1.80.5",
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",
@@ -6,14 +6,16 @@ const ai21ChatModels: AIChatModelCard[] = [
6
6
  functionCall: true,
7
7
  },
8
8
  contextWindowTokens: 256_000,
9
- displayName: 'Jamba 1.5 Mini',
9
+ description:
10
+ '在同级别中最高效的模型,兼顾速度与质量,具备更小的体积。',
11
+ displayName: 'Jamba Mini',
10
12
  enabled: true,
11
- id: 'jamba-1.5-mini',
13
+ id: 'jamba-mini',
12
14
  pricing: {
13
15
  input: 0.2,
14
16
  output: 0.4,
15
17
  },
16
- releasedAt: '2024-08-22',
18
+ releasedAt: '2025-03-06',
17
19
  type: 'chat',
18
20
  },
19
21
  {
@@ -21,14 +23,16 @@ const ai21ChatModels: AIChatModelCard[] = [
21
23
  functionCall: true,
22
24
  },
23
25
  contextWindowTokens: 256_000,
24
- displayName: 'Jamba 1.5 Large',
26
+ description:
27
+ '我们最强大、最先进的模型,专为处理企业级复杂任务而设计,具备卓越的性能。',
28
+ displayName: 'Jamba Large',
25
29
  enabled: true,
26
- id: 'jamba-1.5-large',
30
+ id: 'jamba-large',
27
31
  pricing: {
28
32
  input: 2,
29
33
  output: 8,
30
34
  },
31
- releasedAt: '2024-08-22',
35
+ releasedAt: '2025-03-06',
32
36
  type: 'chat',
33
37
  },
34
38
  ];
@@ -26,7 +26,6 @@ const ai360ChatModels: AIChatModelCard[] = [
26
26
  description:
27
27
  '360gpt2-o1 使用树搜索构建思维链,并引入了反思机制,使用强化学习训练,模型具备自我反思与纠错的能力。',
28
28
  displayName: '360GPT2 o1',
29
- enabled: true,
30
29
  id: '360gpt2-o1',
31
30
  pricing: {
32
31
  currency: 'CNY',
@@ -36,6 +35,10 @@ const ai360ChatModels: AIChatModelCard[] = [
36
35
  type: 'chat',
37
36
  },
38
37
  {
38
+ abilities: {
39
+ functionCall: true,
40
+ search: true,
41
+ },
39
42
  contextWindowTokens: 8000,
40
43
  description:
41
44
  '360智脑系列效果最好的主力千亿级大模型,广泛适用于各领域复杂任务场景。',
@@ -47,6 +50,9 @@ const ai360ChatModels: AIChatModelCard[] = [
47
50
  input: 2,
48
51
  output: 5,
49
52
  },
53
+ settings: {
54
+ searchImpl: 'params',
55
+ },
50
56
  type: 'chat',
51
57
  },
52
58
  {
@@ -58,7 +64,6 @@ const ai360ChatModels: AIChatModelCard[] = [
58
64
  description:
59
65
  '360智脑系列效果最好的主力千亿级大模型,广泛适用于各领域复杂任务场景。',
60
66
  displayName: '360GPT Pro',
61
- enabled: true,
62
67
  id: '360gpt-pro',
63
68
  pricing: {
64
69
  currency: 'CNY',
@@ -70,6 +75,19 @@ const ai360ChatModels: AIChatModelCard[] = [
70
75
  },
71
76
  type: 'chat',
72
77
  },
78
+ {
79
+ contextWindowTokens: 16_000,
80
+ description:
81
+ '翻译专用模型,深度微调优化,翻译效果领先。',
82
+ displayName: '360GPT Pro Trans',
83
+ id: '360gpt-pro-trans',
84
+ pricing: {
85
+ currency: 'CNY',
86
+ input: 2,
87
+ output: 5,
88
+ },
89
+ type: 'chat',
90
+ },
73
91
  {
74
92
  contextWindowTokens: 7000,
75
93
  description:
@@ -84,6 +102,22 @@ const ai360ChatModels: AIChatModelCard[] = [
84
102
  },
85
103
  type: 'chat',
86
104
  },
105
+ {
106
+ abilities: {
107
+ reasoning: true,
108
+ },
109
+ contextWindowTokens: 64_000,
110
+ description:
111
+ '【360部署版】DeepSeek-R1在后训练阶段大规模使用了强化学习技术,在仅有极少标注数据的情况下,极大提升了模型推理能力。在数学、代码、自然语言推理等任务上,性能比肩 OpenAI o1 正式版。',
112
+ displayName: 'DeepSeek R1',
113
+ id: '360/deepseek-r1',
114
+ pricing: {
115
+ currency: 'CNY',
116
+ input: 4,
117
+ output: 16,
118
+ },
119
+ type: 'chat',
120
+ },
87
121
  ];
88
122
 
89
123
  export const allModels = [...ai360ChatModels];
@@ -13,6 +13,7 @@ const stepfunChatModels: AIChatModelCard[] = [
13
13
  contextWindowTokens: 100_000,
14
14
  description: '该模型是拥有强大的图像理解能力的推理大模型,能够处理图像和文字信息,经过深度思考后输出文本生成文本内容。该模型在视觉推理领域表现突出,同时拥有第一梯队的数学、代码、文本推理能力。上下文长度为100k。',
15
15
  displayName: 'Step R1 V Mini',
16
+ enabled: true,
16
17
  id: 'step-r1-v-mini',
17
18
  pricing: {
18
19
  currency: 'CNY',
@@ -3,6 +3,17 @@ import { AIChatModelCard } from '@/types/aiModel';
3
3
  // https://docs.wair.ac.cn/maas/jiage.html
4
4
 
5
5
  const taichuChatModels: AIChatModelCard[] = [
6
+ {
7
+ abilities: {
8
+ reasoning: true,
9
+ },
10
+ contextWindowTokens: 32_768,
11
+ description: 'taichu_o1是新一代推理大模型,通过多模态交互和强化学习实现类人思维链,支持复杂决策推演,在保持高精度输出的同时展现可模型推理的思维路径,适用于策略分析与深度思考等场景。',
12
+ displayName: 'Taichu O1',
13
+ enabled: true,
14
+ id: 'taichu_o1',
15
+ type: 'chat',
16
+ },
6
17
  {
7
18
  abilities: {
8
19
  functionCall: true,
@@ -35,6 +46,56 @@ const taichuChatModels: AIChatModelCard[] = [
35
46
  },
36
47
  type: 'chat',
37
48
  },
49
+ {
50
+ abilities: {
51
+ reasoning: true,
52
+ },
53
+ contextWindowTokens: 131_072,
54
+ description: 'DeepSeek-R1 是一款强化学习(RL)驱动的推理模型,解决了模型中的重复性和可读性问题。在 RL 之前,DeepSeek-R1 引入了冷启动数据,进一步优化了推理性能。它在数学、代码和推理任务中与 OpenAI-o1 表现相当,并且通过精心设计的训练方法,提升了整体效果。',
55
+ displayName: 'DeepSeek R1',
56
+ id: 'deepseek_r1',
57
+ type: 'chat',
58
+ },
59
+ {
60
+ abilities: {
61
+ reasoning: true,
62
+ },
63
+ contextWindowTokens: 131_072,
64
+ description: 'DeepSeek-R1-Distill-Qwen-14B 是基于 Qwen2.5-14B 通过知识蒸馏得到的模型。该模型使用 DeepSeek-R1 生成的 80 万个精选样本进行微调,展现出优秀的推理能力。',
65
+ displayName: 'DeepSeek R1 Distill Qwen 14B',
66
+ id: 'deepseek_r1_distill_qwen_14b',
67
+ type: 'chat',
68
+ },
69
+ {
70
+ abilities: {
71
+ reasoning: true,
72
+ },
73
+ contextWindowTokens: 131_072,
74
+ description: 'DeepSeek-R1-Distill-Qwen-32B 是基于 Qwen2.5-32B 通过知识蒸馏得到的模型。该模型使用 DeepSeek-R1 生成的 80 万个精选样本进行微调,在数学、编程和推理等多个领域展现出卓越的性能。',
75
+ displayName: 'DeepSeek R1 Distill Qwen 32B',
76
+ id: 'deepseek_r1_distill_qwen_32b',
77
+ type: 'chat',
78
+ },
79
+ {
80
+ abilities: {
81
+ reasoning: true,
82
+ },
83
+ contextWindowTokens: 131_072,
84
+ description: 'DeepSeek-R1-Distill-Llama-70B 是基于 Llama-3.3-70B-Instruct 经过蒸馏训练得到的模型。该模型是 DeepSeek-R1 系列的一部分,通过使用 DeepSeek-R1 生成的样本进行微调,在数学、编程和推理等多个领域展现出优秀的性能。',
85
+ displayName: 'DeepSeek R1 Distill Llama 70B',
86
+ id: 'deepseek_r1_distill_llama_70b',
87
+ type: 'chat',
88
+ },
89
+ {
90
+ abilities: {
91
+ reasoning: true,
92
+ },
93
+ contextWindowTokens: 32_768,
94
+ description: 'Qwen 系列中等规模的推理模型。与传统的指令调优模型相比,具备思考和推理能力的 QwQ 在下游任务中,尤其是在解决难题时,能够显著提升性能。',
95
+ displayName: 'QwQ 32B',
96
+ id: 'qwq_32b',
97
+ type: 'chat',
98
+ },
38
99
  ];
39
100
 
40
101
  export const allModels = [...taichuChatModels];
@@ -61,7 +61,6 @@ const doubaoChatModels: AIChatModelCard[] = [
61
61
  description:
62
62
  'DeepSeek-R1 在后训练阶段大规模使用了强化学习技术,在仅有极少标注数据的情况下,极大提升了模型推理能力。在数学、代码、自然语言推理等任务上,性能比肩 OpenAI o1 正式版。',
63
63
  displayName: 'DeepSeek R1',
64
- enabled: true,
65
64
  id: 'deepseek-r1',
66
65
  maxOutput: 16_384,
67
66
  pricing: {
@@ -26,7 +26,7 @@ const Ai21: ModelProviderCard = {
26
26
  },
27
27
  },
28
28
  ],
29
- checkModel: 'jamba-1.5-mini',
29
+ checkModel: 'jamba-mini',
30
30
  description: 'AI21 Labs 为企业构建基础模型和人工智能系统,加速生成性人工智能在生产中的应用。',
31
31
  id: 'ai21',
32
32
  modelsUrl: 'https://docs.ai21.com/reference',
@@ -300,7 +300,7 @@ describe('AiInfraRepos', () => {
300
300
  });
301
301
 
302
302
  it('should use builtin models', async () => {
303
- const providerId = 'taichu';
303
+ const providerId = 'ai21';
304
304
 
305
305
  vi.spyOn(repo.aiModelModel, 'getModelListByProviderId').mockResolvedValue([]);
306
306
 
@@ -309,8 +309,8 @@ describe('AiInfraRepos', () => {
309
309
  expect(result).toHaveLength(2);
310
310
  expect(result).toEqual(
311
311
  expect.arrayContaining([
312
- expect.objectContaining({ id: 'taichu_llm' }),
313
- expect.objectContaining({ id: 'taichu_vl' }),
312
+ expect.objectContaining({ id: 'jamba-mini' }),
313
+ expect.objectContaining({ id: 'jamba-large' }),
314
314
  ]),
315
315
  );
316
316
  });