Skip to content

Commit

Permalink
Merge pull request ChatGPTNextWeb#5932 from fengzai6/update-google-mo…
Browse files Browse the repository at this point in the history
…dels

Update google models to add gemini-2.0
  • Loading branch information
Dogtiti authored Dec 20, 2024
2 parents 4274341 + 46a0b10 commit eceec09
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/constant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -317,13 +317,14 @@ const openaiModels = [
];

const googleModels = [
"gemini-1.0-pro",
"gemini-1.0-pro", // Deprecated on 2/15/2025
"gemini-1.5-pro-latest",
"gemini-1.5-flash-latest",
"gemini-1.5-flash-8b-latest",
"gemini-exp-1114",
"gemini-exp-1121",
"learnlm-1.5-pro-experimental",
"gemini-pro-vision",
"gemini-2.0-flash-exp",
];

const anthropicModels = [
Expand Down
1 change: 1 addition & 0 deletions app/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@ export function isVisionModel(model: string) {
"claude-3",
"gemini-1.5",
"gemini-exp",
"gemini-2.0",
"learnlm",
"qwen-vl",
"qwen2-vl",
Expand Down

0 comments on commit eceec09

Please sign in to comment.