From 83cb1ec91172fbc23ced9e8b69ae0f4ab6b61dcf Mon Sep 17 00:00:00 2001 From: 6vision Date: Sun, 25 May 2025 17:39:17 +0800 Subject: [PATCH] feat: update Gemini models --- common/const.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/common/const.py b/common/const.py index 0c2f360..f8d487a 100644 --- a/common/const.py +++ b/common/const.py @@ -62,7 +62,10 @@ LINKAI_4o = "linkai-4o" 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" +GEMINI_20_flash_exp = "gemini-2.0-flash-exp" # exp结尾为实验模型,会逐步不再支持 +GEMINI_20_FLASH = "gemini-2.0-flash" # 正式版模型 +GEMINI_25_FLASH_PRE = "gemini-2.5-flash-preview-05-20" # preview为预览版模型 ,主要是新能力体验 +GEMINI_25_PRO_PRE = "gemini-2.5-pro-preview-05-06" GLM_4 = "glm-4" @@ -103,7 +106,7 @@ MODEL_LIST = [ 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_20_flash_exp, + GEMINI_25_PRO_PRE, GEMINI_25_FLASH_PRE, GEMINI_20_FLASH, GEMINI, GEMINI_PRO, GEMINI_15_flash, GEMINI_15_PRO, GEMINI_20_flash_exp, CLAUDE_4_OPUS, CLAUDE_4_SONNET, 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,