mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-05-20 04:30:17 +09:00
Merge pull request #5932 from fengzai6/update-google-models
Update google models to add gemini-2.0
This commit is contained in:
commit
eceec092cf
@ -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 = [
|
||||
|
@ -261,6 +261,7 @@ export function isVisionModel(model: string) {
|
||||
"claude-3",
|
||||
"gemini-1.5",
|
||||
"gemini-exp",
|
||||
"gemini-2.0",
|
||||
"learnlm",
|
||||
"qwen-vl",
|
||||
"qwen2-vl",
|
||||
|
Loading…
Reference in New Issue
Block a user