@lobehub/chat 1.94.12 → 1.94.13
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/google.ts +76 -0
- package/src/config/aiModels/vertexai.ts +59 -0
package/CHANGELOG.md
CHANGED
@@ -2,6 +2,31 @@
|
|
2
2
|
|
3
3
|
# Changelog
|
4
4
|
|
5
|
+
### [Version 1.94.13](https://github.com/lobehub/lobe-chat/compare/v1.94.12...v1.94.13)
|
6
|
+
|
7
|
+
<sup>Released on **2025-06-18**</sup>
|
8
|
+
|
9
|
+
#### 💄 Styles
|
10
|
+
|
11
|
+
- **misc**: Update Gemini 2.5 Pro, Flash GA models. Add Gemini 2.5 Flash-Lite Preview model.
|
12
|
+
|
13
|
+
<br/>
|
14
|
+
|
15
|
+
<details>
|
16
|
+
<summary><kbd>Improvements and Fixes</kbd></summary>
|
17
|
+
|
18
|
+
#### Styles
|
19
|
+
|
20
|
+
- **misc**: Update Gemini 2.5 Pro, Flash GA models. Add Gemini 2.5 Flash-Lite Preview model, closes [#8213](https://github.com/lobehub/lobe-chat/issues/8213) ([39ef8be](https://github.com/lobehub/lobe-chat/commit/39ef8be))
|
21
|
+
|
22
|
+
</details>
|
23
|
+
|
24
|
+
<div align="right">
|
25
|
+
|
26
|
+
[](#readme-top)
|
27
|
+
|
28
|
+
</div>
|
29
|
+
|
5
30
|
### [Version 1.94.12](https://github.com/lobehub/lobe-chat/compare/v1.94.11...v1.94.12)
|
6
31
|
|
7
32
|
<sup>Released on **2025-06-18**</sup>
|
package/changelog/v1.json
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@lobehub/chat",
|
3
|
-
"version": "1.94.
|
3
|
+
"version": "1.94.13",
|
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,31 @@
|
|
1
1
|
import { AIChatModelCard } from '@/types/aiModel';
|
2
2
|
|
3
3
|
const googleChatModels: AIChatModelCard[] = [
|
4
|
+
{
|
5
|
+
abilities: {
|
6
|
+
functionCall: true,
|
7
|
+
reasoning: true,
|
8
|
+
search: true,
|
9
|
+
vision: true,
|
10
|
+
},
|
11
|
+
contextWindowTokens: 1_048_576 + 65_536,
|
12
|
+
description:
|
13
|
+
'Gemini 2.5 Pro 是 Google 最先进的思维模型,能够对代码、数学和STEM领域的复杂问题进行推理,以及使用长上下文分析大型数据集、代码库和文档。',
|
14
|
+
displayName: 'Gemini 2.5 Pro (Paid)',
|
15
|
+
id: 'gemini-2.5-pro',
|
16
|
+
maxOutput: 65_536,
|
17
|
+
pricing: {
|
18
|
+
input: 1.25, // prompts <= 200k tokens
|
19
|
+
output: 10, // prompts <= 200k tokens
|
20
|
+
},
|
21
|
+
releasedAt: '2025-06-17',
|
22
|
+
settings: {
|
23
|
+
extendParams: ['enableReasoning', 'reasoningBudgetToken'],
|
24
|
+
searchImpl: 'params',
|
25
|
+
searchProvider: 'google',
|
26
|
+
},
|
27
|
+
type: 'chat',
|
28
|
+
},
|
4
29
|
{
|
5
30
|
abilities: {
|
6
31
|
functionCall: true,
|
@@ -74,6 +99,31 @@ const googleChatModels: AIChatModelCard[] = [
|
|
74
99
|
},
|
75
100
|
type: 'chat',
|
76
101
|
},
|
102
|
+
{
|
103
|
+
abilities: {
|
104
|
+
functionCall: true,
|
105
|
+
reasoning: true,
|
106
|
+
search: true,
|
107
|
+
vision: true,
|
108
|
+
},
|
109
|
+
contextWindowTokens: 1_048_576 + 65_536,
|
110
|
+
description: 'Gemini 2.5 Flash 是 Google 性价比最高的模型,提供全面的功能。',
|
111
|
+
displayName: 'Gemini 2.5 Flash',
|
112
|
+
enabled: true,
|
113
|
+
id: 'gemini-2.5-flash',
|
114
|
+
maxOutput: 65_536,
|
115
|
+
pricing: {
|
116
|
+
input: 0.3,
|
117
|
+
output: 2.5,
|
118
|
+
},
|
119
|
+
releasedAt: '2025-06-17',
|
120
|
+
settings: {
|
121
|
+
extendParams: ['enableReasoning', 'reasoningBudgetToken'],
|
122
|
+
searchImpl: 'params',
|
123
|
+
searchProvider: 'google',
|
124
|
+
},
|
125
|
+
type: 'chat',
|
126
|
+
},
|
77
127
|
{
|
78
128
|
abilities: {
|
79
129
|
functionCall: true,
|
@@ -145,6 +195,32 @@ const googleChatModels: AIChatModelCard[] = [
|
|
145
195
|
},
|
146
196
|
type: 'chat',
|
147
197
|
},
|
198
|
+
{
|
199
|
+
abilities: {
|
200
|
+
functionCall: true,
|
201
|
+
reasoning: true,
|
202
|
+
search: true,
|
203
|
+
vision: true,
|
204
|
+
},
|
205
|
+
contextWindowTokens: 1_000_000 + 64_000,
|
206
|
+
description:
|
207
|
+
'Gemini 2.5 Flash-Lite Preview 是 Google 最小、性价比最高的模型,专为大规模使用而设计。',
|
208
|
+
displayName: 'Gemini 2.5 Flash-Lite Preview 06-17',
|
209
|
+
enabled: true,
|
210
|
+
id: 'gemini-2.5-flash-lite-preview-06-17',
|
211
|
+
maxOutput: 64_000,
|
212
|
+
pricing: {
|
213
|
+
input: 0.1,
|
214
|
+
output: 0.4,
|
215
|
+
},
|
216
|
+
releasedAt: '2025-06-17',
|
217
|
+
settings: {
|
218
|
+
extendParams: ['enableReasoning', 'reasoningBudgetToken'],
|
219
|
+
searchImpl: 'params',
|
220
|
+
searchProvider: 'google',
|
221
|
+
},
|
222
|
+
type: 'chat',
|
223
|
+
},
|
148
224
|
{
|
149
225
|
abilities: {
|
150
226
|
functionCall: true,
|
@@ -2,6 +2,26 @@ import { AIChatModelCard } from '@/types/aiModel';
|
|
2
2
|
|
3
3
|
// ref: https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models
|
4
4
|
const vertexaiChatModels: AIChatModelCard[] = [
|
5
|
+
{
|
6
|
+
abilities: {
|
7
|
+
functionCall: true,
|
8
|
+
reasoning: true,
|
9
|
+
vision: true,
|
10
|
+
},
|
11
|
+
contextWindowTokens: 1_048_576 + 65_536,
|
12
|
+
description:
|
13
|
+
'Gemini 2.5 Pro 是 Google 最先进的思维模型,能够对代码、数学和STEM领域的复杂问题进行推理,以及使用长上下文分析大型数据集、代码库和文档。',
|
14
|
+
displayName: 'Gemini 2.5 Pro',
|
15
|
+
enabled: true,
|
16
|
+
id: 'gemini-2.5-pro',
|
17
|
+
maxOutput: 65_536,
|
18
|
+
pricing: {
|
19
|
+
input: 1.25, // prompts <= 200k tokens
|
20
|
+
output: 10, // prompts <= 200k tokens
|
21
|
+
},
|
22
|
+
releasedAt: '2025-06-17',
|
23
|
+
type: 'chat',
|
24
|
+
},
|
5
25
|
{
|
6
26
|
abilities: {
|
7
27
|
functionCall: true,
|
@@ -41,6 +61,25 @@ const vertexaiChatModels: AIChatModelCard[] = [
|
|
41
61
|
releasedAt: '2025-04-09',
|
42
62
|
type: 'chat',
|
43
63
|
},
|
64
|
+
{
|
65
|
+
abilities: {
|
66
|
+
functionCall: true,
|
67
|
+
reasoning: true,
|
68
|
+
vision: true,
|
69
|
+
},
|
70
|
+
contextWindowTokens: 1_048_576 + 65_536,
|
71
|
+
description: 'Gemini 2.5 Flash 是 Google 性价比最高的模型,提供全面的功能。',
|
72
|
+
displayName: 'Gemini 2.5 Flash',
|
73
|
+
enabled: true,
|
74
|
+
id: 'gemini-2.5-flash',
|
75
|
+
maxOutput: 65_536,
|
76
|
+
pricing: {
|
77
|
+
input: 0.3,
|
78
|
+
output: 2.5,
|
79
|
+
},
|
80
|
+
releasedAt: '2025-06-17',
|
81
|
+
type: 'chat',
|
82
|
+
},
|
44
83
|
{
|
45
84
|
abilities: {
|
46
85
|
functionCall: true,
|
@@ -60,6 +99,26 @@ const vertexaiChatModels: AIChatModelCard[] = [
|
|
60
99
|
releasedAt: '2025-04-17',
|
61
100
|
type: 'chat',
|
62
101
|
},
|
102
|
+
{
|
103
|
+
abilities: {
|
104
|
+
functionCall: true,
|
105
|
+
reasoning: true,
|
106
|
+
vision: true,
|
107
|
+
},
|
108
|
+
contextWindowTokens: 1_000_000 + 64_000,
|
109
|
+
description:
|
110
|
+
'Gemini 2.5 Flash-Lite Preview 是 Google 最小、性价比最高的模型,专为大规模使用而设计。',
|
111
|
+
displayName: 'Gemini 2.5 Flash-Lite Preview 06-17',
|
112
|
+
enabled: true,
|
113
|
+
id: 'gemini-2.5-flash-lite-preview-06-17',
|
114
|
+
maxOutput: 64_000,
|
115
|
+
pricing: {
|
116
|
+
input: 0.1,
|
117
|
+
output: 0.4,
|
118
|
+
},
|
119
|
+
releasedAt: '2025-06-17',
|
120
|
+
type: 'chat',
|
121
|
+
},
|
63
122
|
{
|
64
123
|
abilities: {
|
65
124
|
functionCall: true,
|