@lobehub/chat 1.79.3 → 1.79.4
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/changelog/v1.json +9 -0
- package/package.json +1 -1
- package/src/config/aiModels/xai.ts +79 -18
package/CHANGELOG.md
CHANGED
@@ -2,6 +2,31 @@
|
|
2
2
|
|
3
3
|
# Changelog
|
4
4
|
|
5
|
+
### [Version 1.79.4](https://github.com/lobehub/lobe-chat/compare/v1.79.3...v1.79.4)
|
6
|
+
|
7
|
+
<sup>Released on **2025-04-10**</sup>
|
8
|
+
|
9
|
+
#### 💄 Styles
|
10
|
+
|
11
|
+
- **misc**: Update Grok 3 models.
|
12
|
+
|
13
|
+
<br/>
|
14
|
+
|
15
|
+
<details>
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
17
|
+
|
18
|
+
#### Styles
|
19
|
+
|
20
|
+
- **misc**: Update Grok 3 models, closes [#7360](https://github.com/lobehub/lobe-chat/issues/7360) ([d2b9120](https://github.com/lobehub/lobe-chat/commit/d2b9120))
|
21
|
+
|
22
|
+
</details>
|
23
|
+
|
24
|
+
<div align="right">
|
25
|
+
|
26
|
+
[](#readme-top)
|
27
|
+
|
28
|
+
</div>
|
29
|
+
|
5
30
|
### [Version 1.79.3](https://github.com/lobehub/lobe-chat/compare/v1.79.2...v1.79.3)
|
6
31
|
|
7
32
|
<sup>Released on **2025-04-10**</sup>
|
package/changelog/v1.json
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@lobehub/chat",
|
3
|
-
"version": "1.79.
|
3
|
+
"version": "1.79.4",
|
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,51 +1,68 @@
|
|
1
1
|
import { AIChatModelCard } from '@/types/aiModel';
|
2
|
-
|
2
|
+
// https://docs.x.ai/docs/models
|
3
3
|
const xaiChatModels: AIChatModelCard[] = [
|
4
4
|
{
|
5
5
|
abilities: {
|
6
6
|
functionCall: true,
|
7
7
|
},
|
8
8
|
contextWindowTokens: 131_072,
|
9
|
-
description: '
|
10
|
-
displayName: 'Grok Beta',
|
9
|
+
description: '旗舰级模型,擅长数据提取、编程和文本摘要等企业级应用,拥有金融、医疗、法律和科学等领域的深厚知识。',
|
10
|
+
displayName: 'Grok 3 Beta',
|
11
11
|
enabled: true,
|
12
|
-
id: 'grok-beta',
|
12
|
+
id: 'grok-3-beta',
|
13
13
|
pricing: {
|
14
|
-
input:
|
14
|
+
input: 3,
|
15
15
|
output: 15,
|
16
16
|
},
|
17
|
+
releasedAt: '2025-04-03',
|
17
18
|
type: 'chat',
|
18
19
|
},
|
19
20
|
{
|
20
21
|
abilities: {
|
21
22
|
functionCall: true,
|
22
|
-
vision: true,
|
23
23
|
},
|
24
|
-
contextWindowTokens:
|
25
|
-
description: '
|
26
|
-
displayName: 'Grok
|
27
|
-
|
28
|
-
id: 'grok-vision-beta',
|
24
|
+
contextWindowTokens: 131_072,
|
25
|
+
description: '旗舰级模型,擅长数据提取、编程和文本摘要等企业级应用,拥有金融、医疗、法律和科学等领域的深厚知识。',
|
26
|
+
displayName: 'Grok 3 Beta (Fast mode)',
|
27
|
+
id: 'grok-3-fast-beta',
|
29
28
|
pricing: {
|
30
29
|
input: 5,
|
31
|
-
output:
|
30
|
+
output: 25,
|
32
31
|
},
|
32
|
+
releasedAt: '2025-04-03',
|
33
33
|
type: 'chat',
|
34
34
|
},
|
35
35
|
{
|
36
36
|
abilities: {
|
37
37
|
functionCall: true,
|
38
|
+
reasoning: true,
|
38
39
|
},
|
39
40
|
contextWindowTokens: 131_072,
|
40
|
-
description: '
|
41
|
-
displayName: 'Grok
|
41
|
+
description: '轻量级模型,回话前会先思考。运行快速、智能,适用于不需要深层领域知识的逻辑任务,并能获取原始的思维轨迹。',
|
42
|
+
displayName: 'Grok 3 Mini Beta',
|
42
43
|
enabled: true,
|
43
|
-
id: 'grok-
|
44
|
+
id: 'grok-3-mini-beta',
|
44
45
|
pricing: {
|
45
|
-
input:
|
46
|
-
output:
|
46
|
+
input: 0.3,
|
47
|
+
output: 0.5,
|
47
48
|
},
|
48
|
-
releasedAt: '
|
49
|
+
releasedAt: '2025-04-03',
|
50
|
+
type: 'chat',
|
51
|
+
},
|
52
|
+
{
|
53
|
+
abilities: {
|
54
|
+
functionCall: true,
|
55
|
+
reasoning: true,
|
56
|
+
},
|
57
|
+
contextWindowTokens: 131_072,
|
58
|
+
description: '轻量级模型,回话前会先思考。运行快速、智能,适用于不需要深层领域知识的逻辑任务,并能获取原始的思维轨迹。',
|
59
|
+
displayName: 'Grok 3 Mini Beta (Fast mode)',
|
60
|
+
id: 'grok-3-mini-fast-beta',
|
61
|
+
pricing: {
|
62
|
+
input: 0.6,
|
63
|
+
output: 4,
|
64
|
+
},
|
65
|
+
releasedAt: '2025-04-03',
|
49
66
|
type: 'chat',
|
50
67
|
},
|
51
68
|
{
|
@@ -65,6 +82,50 @@ const xaiChatModels: AIChatModelCard[] = [
|
|
65
82
|
releasedAt: '2024-12-12',
|
66
83
|
type: 'chat',
|
67
84
|
},
|
85
|
+
{
|
86
|
+
abilities: {
|
87
|
+
functionCall: true,
|
88
|
+
},
|
89
|
+
contextWindowTokens: 131_072,
|
90
|
+
description: '该模型在准确性、指令遵循和多语言能力方面有所改进。',
|
91
|
+
displayName: 'Grok 2 1212',
|
92
|
+
id: 'grok-2-1212', // legacy
|
93
|
+
pricing: {
|
94
|
+
input: 2,
|
95
|
+
output: 10,
|
96
|
+
},
|
97
|
+
releasedAt: '2024-12-12',
|
98
|
+
type: 'chat',
|
99
|
+
},
|
100
|
+
{
|
101
|
+
abilities: {
|
102
|
+
functionCall: true,
|
103
|
+
},
|
104
|
+
contextWindowTokens: 131_072,
|
105
|
+
description: '拥有与 Grok 2 相当的性能,但具有更高的效率、速度和功能。',
|
106
|
+
displayName: 'Grok Beta',
|
107
|
+
id: 'grok-beta', // legacy
|
108
|
+
pricing: {
|
109
|
+
input: 5,
|
110
|
+
output: 15,
|
111
|
+
},
|
112
|
+
type: 'chat',
|
113
|
+
},
|
114
|
+
{
|
115
|
+
abilities: {
|
116
|
+
functionCall: true,
|
117
|
+
vision: true,
|
118
|
+
},
|
119
|
+
contextWindowTokens: 8192,
|
120
|
+
description: '最新的图像理解模型,可以处理各种各样的视觉信息,包括文档、图表、截图和照片等。',
|
121
|
+
displayName: 'Grok Vision Beta',
|
122
|
+
id: 'grok-vision-beta', // legacy
|
123
|
+
pricing: {
|
124
|
+
input: 5,
|
125
|
+
output: 15,
|
126
|
+
},
|
127
|
+
type: 'chat',
|
128
|
+
},
|
68
129
|
];
|
69
130
|
|
70
131
|
export const allModels = [...xaiChatModels];
|