From 0a056a7c5c0be993321174706d8b679e7ffde038 Mon Sep 17 00:00:00 2001 From: dupl Date: Sat, 21 Dec 2024 08:00:37 +0800 Subject: [PATCH 1/2] add gemini-exp-1206, gemini-2.0-flash-thinking-exp-1219 --- app/constant.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/app/constant.ts b/app/constant.ts index 429d52b3db4..28700cb1439 100644 --- a/app/constant.ts +++ b/app/constant.ts @@ -325,6 +325,15 @@ const googleModels = [ "gemini-exp-1121", "learnlm-1.5-pro-experimental", "gemini-2.0-flash-exp", + "gemini-1.5-flash", + "gemini-1.5-flash-002", + "gemini-1.5-flash-8b", + "gemini-1.5-flash-exp-0827", + "gemini-1.5-pro", + "gemini-1.5-pro-002", + "gemini-1.5-pro-exp-0827", + "gemini-2.0-flash-thinking-exp-1219", + "gemini-exp-1206", ]; const anthropicModels = [ From 93ac0e501737f8e01d046a367d0aeb0055c15633 Mon Sep 17 00:00:00 2001 From: dupl <67990457+dupl@users.noreply.github.com> Date: Sat, 21 Dec 2024 15:26:33 +0800 Subject: [PATCH 2/2] Reorganized the Gemini model --- app/constant.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/app/constant.ts b/app/constant.ts index 28700cb1439..aa01c56e109 100644 --- a/app/constant.ts +++ b/app/constant.ts @@ -319,21 +319,21 @@ const openaiModels = [ const googleModels = [ "gemini-1.0-pro", // Deprecated on 2/15/2025 "gemini-1.5-pro-latest", + "gemini-1.5-pro", + "gemini-1.5-pro-002", + "gemini-1.5-pro-exp-0827", "gemini-1.5-flash-latest", "gemini-1.5-flash-8b-latest", - "gemini-exp-1114", - "gemini-exp-1121", - "learnlm-1.5-pro-experimental", - "gemini-2.0-flash-exp", "gemini-1.5-flash", - "gemini-1.5-flash-002", "gemini-1.5-flash-8b", + "gemini-1.5-flash-002", "gemini-1.5-flash-exp-0827", - "gemini-1.5-pro", - "gemini-1.5-pro-002", - "gemini-1.5-pro-exp-0827", - "gemini-2.0-flash-thinking-exp-1219", + "learnlm-1.5-pro-experimental", + "gemini-exp-1114", + "gemini-exp-1121", "gemini-exp-1206", + "gemini-2.0-flash-exp", + "gemini-2.0-flash-thinking-exp-1219", ]; const anthropicModels = [