From c491731c99f1eeffbd5690b8d3c8a2ad4bf077c9 Mon Sep 17 00:00:00 2001 From: o1key <951565127@qq.com> Date: Wed, 20 May 2026 11:28:21 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=E6=A8=A1=E5=9E=8B?= =?UTF-8?q?=E5=88=97=E8=A1=A8=EF=BC=8C=E7=A7=BB=E9=99=A4=E6=97=A7=E6=A8=A1?= =?UTF-8?q?=E5=9E=8B=E5=B9=B6=E6=96=B0=E5=A2=9E=20gemini-3.5-flash=20?= =?UTF-8?q?=E7=AD=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Flash 模型:移除 gemini-3-flash-preview 和 gemini-3.1-flash-lite-preview,新增 gemini-3.5-flash - 全能LLM:移除 gemini-3.1-flash-lite-preview 和 doubao-seed-2-0-pro-260215,新增 claude-opus-4-7、claude-opus-4-6、gemini-3.5-flash、doubao-seed-2.0-pro Co-Authored-By: Claude Opus 4.7 --- models_config.py | 19 +++---------------- nodes/universal_llm.py | 6 ++++-- 2 files changed, 7 insertions(+), 18 deletions(-) diff --git a/models_config.py b/models_config.py index 475cc3e..46eff7c 100644 --- a/models_config.py +++ b/models_config.py @@ -114,11 +114,11 @@ GEMINI_MODELS = [ GEMINI_FLASH_MODELS = [ { - "id": "gemini-3-flash-preview", - "description": "Gemini 3 Flash,快速多模态文本生成,通过 thinkingConfig 控制思考等级", + "id": "gemini-3.5-flash", + "description": "Gemini 3.5 Flash,快速多模态文本生成,通过 thinkingConfig 控制思考等级", "enabled": True, "endpoint_type": "standard", - "endpoint": "/v1beta/models/gemini-3-flash-preview:generateContent", + "endpoint": "/v1beta/models/gemini-3.5-flash:generateContent", "thinking_config": { "低": "low", "中": "medium", @@ -137,19 +137,6 @@ GEMINI_FLASH_MODELS = [ "中": "high" } }, - - { - "id": "gemini-3.1-flash-lite-preview", - "description": "Gemini 3.1 Flash Lite,轻量级多模态文本生成,通过 thinkingConfig 控制思考等级", - "enabled": True, - "endpoint_type": "standard", - "endpoint": "/v1beta/models/gemini-3.1-flash-lite-preview:generateContent", - "thinking_config": { - "低": "low", - "中": "medium", - "高": "high" - } - } ] diff --git a/nodes/universal_llm.py b/nodes/universal_llm.py index 5d1a24d..2cec821 100644 --- a/nodes/universal_llm.py +++ b/nodes/universal_llm.py @@ -26,10 +26,12 @@ from ..utils.file_types import FileList SUPPORTED_MODELS = [ "gpt-5.5", - "gemini-3.1-flash-lite-preview", "gemini-3.1-pro-preview", "deepseek-v4-pro", - "doubao-seed-2-0-pro-260215", + "claude-opus-4-7", + "claude-opus-4-6", + "gemini-3.5-flash", + "doubao-seed-2.0-pro", ] # 图片缩放最大尺寸