@lobehub/chat 1.82.9 → 1.82.10

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.82.10](https://github.com/lobehub/lobe-chat/compare/v1.82.9...v1.82.10)
6
+
7
+ <sup>Released on **2025-04-26**</sup>
8
+
9
+ #### 💄 Styles
10
+
11
+ - **misc**: Support `ernie-x1` & `ernie-4.5` series from Wenxin.
12
+
13
+ <br/>
14
+
15
+ <details>
16
+ <summary><kbd>Improvements and Fixes</kbd></summary>
17
+
18
+ #### Styles
19
+
20
+ - **misc**: Support `ernie-x1` & `ernie-4.5` series from Wenxin, closes [#7504](https://github.com/lobehub/lobe-chat/issues/7504) ([9a4150c](https://github.com/lobehub/lobe-chat/commit/9a4150c))
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.82.9](https://github.com/lobehub/lobe-chat/compare/v1.82.8...v1.82.9)
6
31
 
7
32
  <sup>Released on **2025-04-26**</sup>
package/changelog/v1.json CHANGED
@@ -1,4 +1,13 @@
1
1
  [
2
+ {
3
+ "children": {
4
+ "improvements": [
5
+ "Support ernie-x1 & ernie-4.5 series from Wenxin."
6
+ ]
7
+ },
8
+ "date": "2025-04-26",
9
+ "version": "1.82.10"
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.82.9",
3
+ "version": "1.82.10",
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",
@@ -1,6 +1,41 @@
1
1
  import { AIChatModelCard } from '@/types/aiModel';
2
2
 
3
3
  const wenxinChatModels: AIChatModelCard[] = [
4
+ {
5
+ abilities: {
6
+ reasoning: true,
7
+ },
8
+ contextWindowTokens: 32_768,
9
+ description:
10
+ '与ERNIE-X1-32K相比,模型效果和性能更好。',
11
+ displayName: 'ERNIE X1 Turbo 32K',
12
+ enabled: true,
13
+ id: 'ernie-x1-turbo-32k',
14
+ pricing: {
15
+ currency: 'CNY',
16
+ input: 1,
17
+ output: 4,
18
+ },
19
+ releasedAt: '2025-04-24',
20
+ type: 'chat',
21
+ },
22
+ {
23
+ abilities: {
24
+ reasoning: true,
25
+ },
26
+ contextWindowTokens: 32_768,
27
+ description:
28
+ '具备更强的理解、规划、反思、进化能力。作为能力更全面的深度思考模型,文心X1兼备准确、创意和文采,在中文知识问答、文学创作、文稿写作、日常对话、逻辑推理、复杂计算及工具调用等方面表现尤为出色。',
29
+ displayName: 'ERNIE X1 32K',
30
+ id: 'ernie-x1-32k',
31
+ pricing: {
32
+ currency: 'CNY',
33
+ input: 2,
34
+ output: 8,
35
+ },
36
+ releasedAt: '2025-04-15',
37
+ type: 'chat',
38
+ },
4
39
  {
5
40
  abilities: {
6
41
  reasoning: true,
@@ -9,7 +44,6 @@ const wenxinChatModels: AIChatModelCard[] = [
9
44
  description:
10
45
  '文心大模型X1具备更强的理解、规划、反思、进化能力。作为能力更全面的深度思考模型,文心X1兼备准确、创意和文采,在中文知识问答、文学创作、文稿写作、日常对话、逻辑推理、复杂计算及工具调用等方面表现尤为出色。',
11
46
  displayName: 'ERNIE X1 32K Preview',
12
- enabled: true,
13
47
  id: 'ernie-x1-32k-preview',
14
48
  pricing: {
15
49
  currency: 'CNY',
@@ -21,14 +55,73 @@ const wenxinChatModels: AIChatModelCard[] = [
21
55
  },
22
56
  {
23
57
  abilities: {
58
+ functionCall: true,
59
+ search: true,
60
+ },
61
+ contextWindowTokens: 131_072,
62
+ description:
63
+ '文心4.5 Turbo在去幻觉、逻辑推理和代码能力等方面也有着明显增强。对比文心4.5,速度更快、价格更低。模型能力全面提升,更好满足多轮长历史对话处理、长文档理解问答任务。',
64
+ displayName: 'ERNIE 4.5 Turbo 128K',
65
+ enabled: true,
66
+ id: 'ernie-4.5-turbo-128k',
67
+ pricing: {
68
+ currency: 'CNY',
69
+ input: 0.8,
70
+ output: 3.2,
71
+ },
72
+ releasedAt: '2025-04-24',
73
+ settings: {
74
+ searchImpl: 'params',
75
+ },
76
+ type: 'chat',
77
+ },
78
+ {
79
+ abilities: {
80
+ functionCall: true,
24
81
  search: true,
82
+ },
83
+ contextWindowTokens: 32_768,
84
+ description:
85
+ '文心4.5 Turbo在去幻觉、逻辑推理和代码能力等方面也有着明显增强。对比文心4.5,速度更快、价格更低。文本创作、知识问答等能力提升显著。输出长度及整句时延相较ERNIE 4.5有所增加。',
86
+ displayName: 'ERNIE 4.5 Turbo 32K',
87
+ id: 'ernie-4.5-turbo-32k',
88
+ pricing: {
89
+ currency: 'CNY',
90
+ input: 0.8,
91
+ output: 3.2,
92
+ },
93
+ releasedAt: '2025-04-24',
94
+ settings: {
95
+ searchImpl: 'params',
96
+ },
97
+ type: 'chat',
98
+ },
99
+ {
100
+ abilities: {
101
+ vision: true,
102
+ },
103
+ contextWindowTokens: 32_768,
104
+ description:
105
+ '文心一言大模型全新版本,图片理解、创作、翻译、代码等能力显著提升,首次支持32K上下文长度,首Token时延显著降低。',
106
+ displayName: 'ERNIE 4.5 Turbo VL 32K',
107
+ enabled: true,
108
+ id: 'ernie-4.5-turbo-vl-32k',
109
+ pricing: {
110
+ currency: 'CNY',
111
+ input: 3,
112
+ output: 9,
113
+ },
114
+ releasedAt: '2025-04-24',
115
+ type: 'chat',
116
+ },
117
+ {
118
+ abilities: {
25
119
  vision: true,
26
120
  },
27
121
  contextWindowTokens: 8192,
28
122
  description:
29
123
  '文心大模型4.5是百度自主研发的新一代原生多模态基础大模型,通过多个模态联合建模实现协同优化,多模态理解能力优秀;具备更精进的语言能力,理解、生成、逻辑、记忆能力全面提升,去幻觉、逻辑推理、代码能力显著提升。',
30
124
  displayName: 'ERNIE 4.5 8K Preview',
31
- enabled: true,
32
125
  id: 'ernie-4.5-8k-preview',
33
126
  pricing: {
34
127
  currency: 'CNY',
@@ -36,9 +129,6 @@ const wenxinChatModels: AIChatModelCard[] = [
36
129
  output: 16,
37
130
  },
38
131
  releasedAt: '2025-03-16',
39
- settings: {
40
- searchImpl: 'params',
41
- },
42
132
  type: 'chat',
43
133
  },
44
134
  {
@@ -50,7 +140,6 @@ const wenxinChatModels: AIChatModelCard[] = [
50
140
  description:
51
141
  '百度自研的旗舰级超大规模⼤语⾔模型,相较ERNIE 3.5实现了模型能力全面升级,广泛适用于各领域复杂任务场景;支持自动对接百度搜索插件,保障问答信息时效。',
52
142
  displayName: 'ERNIE 4.0 8K',
53
- enabled: true,
54
143
  id: 'ernie-4.0-8k-latest',
55
144
  pricing: {
56
145
  currency: 'CNY',
@@ -91,7 +180,6 @@ const wenxinChatModels: AIChatModelCard[] = [
91
180
  description:
92
181
  '百度自研的旗舰级超大规模⼤语⾔模型,综合效果表现出色,广泛适用于各领域复杂任务场景;支持自动对接百度搜索插件,保障问答信息时效。相较于ERNIE 4.0在性能表现上更优秀',
93
182
  displayName: 'ERNIE 4.0 Turbo 8K',
94
- enabled: true,
95
183
  id: 'ernie-4.0-turbo-8k-latest',
96
184
  pricing: {
97
185
  currency: 'CNY',
@@ -112,7 +200,6 @@ const wenxinChatModels: AIChatModelCard[] = [
112
200
  description:
113
201
  '百度自研的旗舰级超大规模⼤语⾔模型,综合效果表现出色,广泛适用于各领域复杂任务场景;支持自动对接百度搜索插件,保障问答信息时效。相较于ERNIE 4.0在性能表现上更优秀',
114
202
  displayName: 'ERNIE 4.0 Turbo 128K',
115
- enabled: true,
116
203
  id: 'ernie-4.0-turbo-128k',
117
204
  pricing: {
118
205
  currency: 'CNY',