@lobehub/chat 1.31.8 → 1.31.9
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/package.json +1 -1
- package/src/config/modelProviders/google.ts +36 -63
package/CHANGELOG.md
CHANGED
@@ -2,6 +2,31 @@
|
|
2
2
|
|
3
3
|
# Changelog
|
4
4
|
|
5
|
+
### [Version 1.31.9](https://github.com/lobehub/lobe-chat/compare/v1.31.8...v1.31.9)
|
6
|
+
|
7
|
+
<sup>Released on **2024-11-16**</sup>
|
8
|
+
|
9
|
+
#### 💄 Styles
|
10
|
+
|
11
|
+
- **misc**: Add gemini-exp-1114 model.
|
12
|
+
|
13
|
+
<br/>
|
14
|
+
|
15
|
+
<details>
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
17
|
+
|
18
|
+
#### Styles
|
19
|
+
|
20
|
+
- **misc**: Add gemini-exp-1114 model, closes [#4702](https://github.com/lobehub/lobe-chat/issues/4702) ([b3306f2](https://github.com/lobehub/lobe-chat/commit/b3306f2))
|
21
|
+
|
22
|
+
</details>
|
23
|
+
|
24
|
+
<div align="right">
|
25
|
+
|
26
|
+
[](#readme-top)
|
27
|
+
|
28
|
+
</div>
|
29
|
+
|
5
30
|
### [Version 1.31.8](https://github.com/lobehub/lobe-chat/compare/v1.31.7...v1.31.8)
|
6
31
|
|
7
32
|
<sup>Released on **2024-11-15**</sup>
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@lobehub/chat",
|
3
|
-
"version": "1.31.
|
3
|
+
"version": "1.31.9",
|
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",
|
@@ -3,6 +3,23 @@ import { ModelProviderCard } from '@/types/llm';
|
|
3
3
|
// ref: https://ai.google.dev/gemini-api/docs/models/gemini
|
4
4
|
const Google: ModelProviderCard = {
|
5
5
|
chatModels: [
|
6
|
+
{
|
7
|
+
description:
|
8
|
+
'Gemini Exp 1114 是Google最新的实验性多模态AI模型,具备快速处理能力,支持文本、图像和视频输入,适用于多种任务的高效扩展。',
|
9
|
+
displayName: 'Gemini Experimental 1114',
|
10
|
+
enabled: true,
|
11
|
+
functionCall: true,
|
12
|
+
id: 'gemini-exp-1114',
|
13
|
+
maxOutput: 8192,
|
14
|
+
pricing: {
|
15
|
+
cachedInput: 0,
|
16
|
+
input: 0,
|
17
|
+
output: 0,
|
18
|
+
},
|
19
|
+
releasedAt: '2024-11-14',
|
20
|
+
tokens: 32_767 + 8192,
|
21
|
+
vision: true,
|
22
|
+
},
|
6
23
|
{
|
7
24
|
description:
|
8
25
|
'Gemini 1.5 Flash 是Google最新的多模态AI模型,具备快速处理能力,支持文本、图像和视频输入,适用于多种任务的高效扩展。',
|
@@ -49,53 +66,6 @@ const Google: ModelProviderCard = {
|
|
49
66
|
tokens: 1_000_000 + 8192,
|
50
67
|
vision: true,
|
51
68
|
},
|
52
|
-
{
|
53
|
-
description: 'Gemini 1.5 Flash 0827 提供了优化后的多模态处理能力,适用多种复杂任务场景。',
|
54
|
-
displayName: 'Gemini 1.5 Flash 0827',
|
55
|
-
functionCall: true,
|
56
|
-
id: 'gemini-1.5-flash-exp-0827',
|
57
|
-
maxOutput: 8192,
|
58
|
-
pricing: {
|
59
|
-
cachedInput: 0.018_75,
|
60
|
-
input: 0.075,
|
61
|
-
output: 0.3,
|
62
|
-
},
|
63
|
-
releasedAt: '2024-08-27',
|
64
|
-
tokens: 1_000_000 + 8192,
|
65
|
-
vision: true,
|
66
|
-
},
|
67
|
-
{
|
68
|
-
description: 'Gemini 1.5 Flash 8B 是一款高效的多模态模型,支持广泛应用的扩展。',
|
69
|
-
displayName: 'Gemini 1.5 Flash 8B',
|
70
|
-
enabled: true,
|
71
|
-
functionCall: true,
|
72
|
-
id: 'gemini-1.5-flash-8b',
|
73
|
-
maxOutput: 8192,
|
74
|
-
pricing: {
|
75
|
-
cachedInput: 0.02,
|
76
|
-
input: 0.075,
|
77
|
-
output: 0.3,
|
78
|
-
},
|
79
|
-
releasedAt: '2024-10-03',
|
80
|
-
tokens: 1_000_000 + 8192,
|
81
|
-
vision: true,
|
82
|
-
},
|
83
|
-
{
|
84
|
-
description:
|
85
|
-
'Gemini 1.5 Flash 8B 0924 是最新的实验性模型,在文本和多模态用例中都有显著的性能提升。',
|
86
|
-
displayName: 'Gemini 1.5 Flash 8B 0924',
|
87
|
-
functionCall: true,
|
88
|
-
id: 'gemini-1.5-flash-8b-exp-0924',
|
89
|
-
maxOutput: 8192,
|
90
|
-
pricing: {
|
91
|
-
cachedInput: 0.018_75,
|
92
|
-
input: 0.075,
|
93
|
-
output: 0.3,
|
94
|
-
},
|
95
|
-
releasedAt: '2024-09-24',
|
96
|
-
tokens: 1_000_000 + 8192,
|
97
|
-
vision: true,
|
98
|
-
},
|
99
69
|
{
|
100
70
|
description:
|
101
71
|
'Gemini 1.5 Pro 支持高达200万个tokens,是中型多模态模型的理想选择,适用于复杂任务的多方面支持。',
|
@@ -146,35 +116,38 @@ const Google: ModelProviderCard = {
|
|
146
116
|
vision: true,
|
147
117
|
},
|
148
118
|
{
|
149
|
-
description: 'Gemini 1.5
|
150
|
-
displayName: 'Gemini 1.5
|
119
|
+
description: 'Gemini 1.5 Flash 8B 是一款高效的多模态模型,支持广泛应用的扩展。',
|
120
|
+
displayName: 'Gemini 1.5 Flash 8B',
|
121
|
+
enabled: true,
|
151
122
|
functionCall: true,
|
152
|
-
id: 'gemini-1.5-
|
123
|
+
id: 'gemini-1.5-flash-8b',
|
153
124
|
maxOutput: 8192,
|
154
125
|
pricing: {
|
155
|
-
cachedInput: 0.
|
156
|
-
input:
|
157
|
-
output:
|
126
|
+
cachedInput: 0.02,
|
127
|
+
input: 0.075,
|
128
|
+
output: 0.3,
|
158
129
|
},
|
159
|
-
releasedAt: '2024-
|
160
|
-
tokens:
|
130
|
+
releasedAt: '2024-10-03',
|
131
|
+
tokens: 1_000_000 + 8192,
|
161
132
|
vision: true,
|
162
133
|
},
|
163
134
|
{
|
164
|
-
description:
|
165
|
-
|
135
|
+
description:
|
136
|
+
'Gemini 1.5 Flash 8B 0924 是最新的实验性模型,在文本和多模态用例中都有显著的性能提升。',
|
137
|
+
displayName: 'Gemini 1.5 Flash 8B 0924',
|
166
138
|
functionCall: true,
|
167
|
-
id: 'gemini-1.5-
|
139
|
+
id: 'gemini-1.5-flash-8b-exp-0924',
|
168
140
|
maxOutput: 8192,
|
169
141
|
pricing: {
|
170
|
-
cachedInput: 0.
|
171
|
-
input:
|
172
|
-
output:
|
142
|
+
cachedInput: 0.018_75,
|
143
|
+
input: 0.075,
|
144
|
+
output: 0.3,
|
173
145
|
},
|
174
|
-
releasedAt: '2024-
|
175
|
-
tokens:
|
146
|
+
releasedAt: '2024-09-24',
|
147
|
+
tokens: 1_000_000 + 8192,
|
176
148
|
vision: true,
|
177
149
|
},
|
150
|
+
// Gemini 1.0 Pro will be removed on 2025.02.15
|
178
151
|
{
|
179
152
|
description: 'Gemini 1.0 Pro 是Google的高性能AI模型,专为广泛任务扩展而设计。',
|
180
153
|
displayName: 'Gemini 1.0 Pro',
|