Skip to content

Commit eceec09

Browse files
authored
Merge pull request ChatGPTNextWeb#5932 from fengzai6/update-google-models
Update google models to add gemini-2.0
2 parents 4274341 + 46a0b10 commit eceec09

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

app/constant.ts

+3-2
Original file line numberDiff line numberDiff line change
@@ -317,13 +317,14 @@ const openaiModels = [
317317
];
318318

319319
const googleModels = [
320-
"gemini-1.0-pro",
320+
"gemini-1.0-pro", // Deprecated on 2/15/2025
321321
"gemini-1.5-pro-latest",
322322
"gemini-1.5-flash-latest",
323+
"gemini-1.5-flash-8b-latest",
323324
"gemini-exp-1114",
324325
"gemini-exp-1121",
325326
"learnlm-1.5-pro-experimental",
326-
"gemini-pro-vision",
327+
"gemini-2.0-flash-exp",
327328
];
328329

329330
const anthropicModels = [

app/utils.ts

+1
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ export function isVisionModel(model: string) {
261261
"claude-3",
262262
"gemini-1.5",
263263
"gemini-exp",
264+
"gemini-2.0",
264265
"learnlm",
265266
"qwen-vl",
266267
"qwen2-vl",

0 commit comments

Comments
 (0)