Skip to content

Commit 908a1a1

Browse files
chai-mibentwnghk
authored andcommitted
💄 style: remove deprecated gemini models (lobehub#6269)
1 parent c375c9c commit 908a1a1

File tree

2 files changed

+73
-259
lines changed

2 files changed

+73
-259
lines changed

src/config/aiModels/google.ts

+1-108
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,7 @@ const googleChatModels: AIChatModelCard[] = [
6565
vision: true,
6666
},
6767
contextWindowTokens: 1_048_576 + 8192,
68-
description:
69-
'一个 Gemini 2.0 Flash 模型,针对成本效益和低延迟等目标进行了优化。',
68+
description: '一个 Gemini 2.0 Flash 模型,针对成本效益和低延迟等目标进行了优化。',
7069
displayName: 'Gemini 2.0 Flash-Lite Preview 02-05',
7170
id: 'gemini-2.0-flash-lite-preview-02-05',
7271
maxOutput: 8192,
@@ -78,25 +77,6 @@ const googleChatModels: AIChatModelCard[] = [
7877
releasedAt: '2025-02-05',
7978
type: 'chat',
8079
},
81-
{
82-
abilities: {
83-
functionCall: true,
84-
vision: true,
85-
},
86-
contextWindowTokens: 2_097_152 + 8192,
87-
description:
88-
'Gemini Exp 1206 是 Google 的实验性多模态AI模型,与历史版本相比有一定的质量提升。',
89-
displayName: 'Gemini Experimental 1206',
90-
id: 'gemini-exp-1206',
91-
maxOutput: 8192,
92-
pricing: {
93-
cachedInput: 0,
94-
input: 0,
95-
output: 0,
96-
},
97-
releasedAt: '2024-12-06',
98-
type: 'chat',
99-
},
10080
{
10181
abilities: {
10282
reasoning: true,
@@ -117,44 +97,6 @@ const googleChatModels: AIChatModelCard[] = [
11797
releasedAt: '2025-01-21',
11898
type: 'chat',
11999
},
120-
{
121-
abilities: {
122-
reasoning: true,
123-
vision: true,
124-
},
125-
contextWindowTokens: 40_959,
126-
description:
127-
'Gemini 2.0 Flash Thinking 是一个实验模型,经过训练后可以生成模型在响应过程中经历的思考过程。因此,思维模式的响应推理能力比基础 Gemini 2.0 Flash 模型更强。',
128-
displayName: 'Gemini 2.0 Flash Thinking Experimental 1219',
129-
id: 'gemini-2.0-flash-thinking-exp-1219',
130-
maxOutput: 8192,
131-
pricing: {
132-
cachedInput: 0,
133-
input: 0,
134-
output: 0,
135-
},
136-
releasedAt: '2024-12-19',
137-
type: 'chat',
138-
},
139-
{
140-
abilities: {
141-
functionCall: true,
142-
vision: true,
143-
},
144-
contextWindowTokens: 1_056_768,
145-
description:
146-
'Gemini 2.0 Flash Exp 是 Google 的实验性多模态AI模型,拥有下一代特性,卓越的速度,原生工具调用以及多模态生成。',
147-
displayName: 'Gemini 2.0 Flash Experimental',
148-
id: 'gemini-2.0-flash-exp',
149-
maxOutput: 8192,
150-
pricing: {
151-
cachedInput: 0,
152-
input: 0,
153-
output: 0,
154-
},
155-
releasedAt: '2024-12-11',
156-
type: 'chat',
157-
},
158100
{
159101
abilities: {
160102
functionCall: true,
@@ -264,55 +206,6 @@ const googleChatModels: AIChatModelCard[] = [
264206
releasedAt: '2024-10-03',
265207
type: 'chat',
266208
},
267-
{
268-
abilities: {
269-
functionCall: true,
270-
vision: true,
271-
},
272-
contextWindowTokens: 1_008_192,
273-
description:
274-
'Gemini 1.5 Flash 8B 0924 是最新的实验性模型,在文本和多模态用例中都有显著的性能提升。',
275-
displayName: 'Gemini 1.5 Flash 8B 0924',
276-
id: 'gemini-1.5-flash-8b-exp-0924',
277-
maxOutput: 8192,
278-
pricing: {
279-
cachedInput: 0.018_75,
280-
input: 0.075,
281-
output: 0.3,
282-
},
283-
releasedAt: '2024-09-24',
284-
type: 'chat',
285-
},
286-
{
287-
abilities: {
288-
functionCall: true,
289-
},
290-
contextWindowTokens: 32_768,
291-
description:
292-
'Gemini 1.0 Pro 001 (Tuning) 提供稳定并可调优的性能,是复杂任务解决方案的理想选择。',
293-
displayName: 'Gemini 1.0 Pro 001 (Tuning)',
294-
id: 'gemini-1.0-pro-001', // Deprecated on 2/15/2025
295-
maxOutput: 2048,
296-
pricing: {
297-
input: 0.5,
298-
output: 1.5,
299-
},
300-
releasedAt: '2023-12-06',
301-
type: 'chat',
302-
},
303-
{
304-
contextWindowTokens: 32_768,
305-
description: 'Gemini 1.0 Pro 002 (Tuning) 提供出色的多模态支持,专注于复杂任务的有效解决。',
306-
displayName: 'Gemini 1.0 Pro 002 (Tuning)',
307-
id: 'gemini-1.0-pro-002', // Deprecated on 2/15/2025
308-
maxOutput: 2048,
309-
pricing: {
310-
input: 0.5,
311-
output: 1.5,
312-
},
313-
releasedAt: '2023-12-06',
314-
type: 'chat',
315-
},
316209
];
317210

318211
export const allModels = [...googleChatModels];

0 commit comments

Comments
 (0)