diff --git a/app/constant.ts b/app/constant.ts index 25c8d98eae3..429d52b3db4 100644 --- a/app/constant.ts +++ b/app/constant.ts @@ -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 = [ diff --git a/app/utils.ts b/app/utils.ts index b62bc126da7..30f95fa02eb 100644 --- a/app/utils.ts +++ b/app/utils.ts @@ -261,6 +261,7 @@ export function isVisionModel(model: string) { "claude-3", "gemini-1.5", "gemini-exp", + "gemini-2.0", "learnlm", "qwen-vl", "qwen2-vl",