From e27e8fb0e16ee61865d11606682f2c4cbd075e73 Mon Sep 17 00:00:00 2001 From: "Nacho.L" <112751823+fengzai6@users.noreply.github.com> Date: Fri, 13 Dec 2024 07:22:16 +0800 Subject: [PATCH 1/2] Update google models --- app/constant.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 = [ From 46a0b100f73058d651b884341b43e126e2c04a00 Mon Sep 17 00:00:00 2001 From: "Nacho.L" <112751823+fengzai6@users.noreply.github.com> Date: Fri, 13 Dec 2024 08:29:43 +0800 Subject: [PATCH 2/2] Update versionKeywords --- app/utils.ts | 1 + 1 file changed, 1 insertion(+) 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",