From 651c840c4a9ccb9214764c397f8eae19c3f0ceca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=B9=81=E6=98=9F=5F=E9=80=90=E6=A2=A6?= Date: Thu, 12 Dec 2024 22:19:13 +0800 Subject: [PATCH 1/2] add: gemini-2.0-flash-exp model --- common/const.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/const.py b/common/const.py index 9eb8795da..802fbfe12 100644 --- a/common/const.py +++ b/common/const.py @@ -59,6 +59,8 @@ GEMINI_PRO = "gemini-1.0-pro" GEMINI_15_flash = "gemini-1.5-flash" GEMINI_15_PRO = "gemini-1.5-pro" +GEMINI_20_flash_exp = "gemini-2.0-flash-exp" + GLM_4 = "glm-4" GLM_4_PLUS = "glm-4-plus" From 4c0b7942f0b2dc1553e1ed8e86d11c4ea85886d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=B9=81=E6=98=9F=5F=E9=80=90=E6=A2=A6?= Date: Thu, 12 Dec 2024 22:22:14 +0800 Subject: [PATCH 2/2] add: gemini-2.0-flash-exp model --- common/const.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/const.py b/common/const.py index 802fbfe12..c002d01fe 100644 --- a/common/const.py +++ b/common/const.py @@ -89,7 +89,7 @@ XUNFEI, ZHIPU_AI, GLM_4, GLM_4_PLUS, GLM_4_flash, GLM_4_LONG, GLM_4_ALLTOOLS, GLM_4_0520, GLM_4_AIR, GLM_4_AIRX, MOONSHOT, MiniMax, - GEMINI, GEMINI_PRO, GEMINI_15_flash, GEMINI_15_PRO, + GEMINI, GEMINI_PRO, GEMINI_15_flash, GEMINI_15_PRO,GEMINI_20_flash_exp, CLAUDE_3_OPUS, CLAUDE_3_OPUS_0229, CLAUDE_35_SONNET, CLAUDE_35_SONNET_1022, CLAUDE_35_SONNET_0620, CLAUDE_3_SONNET, CLAUDE_3_HAIKU, "claude", "claude-3-haiku", "claude-3-sonnet", "claude-3-opus", "claude-3.5-sonnet", "moonshot-v1-8k", "moonshot-v1-32k", "moonshot-v1-128k", QWEN, QWEN_TURBO, QWEN_PLUS, QWEN_MAX,