From f8eebabf4c83b1658f3a83e1e8a9bb92e682d75d Mon Sep 17 00:00:00 2001 From: xunbu Date: Mon, 29 Sep 2025 15:08:17 +0800 Subject: [PATCH] fix --- docutranslate/agents/thinking/thinking_factory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docutranslate/agents/thinking/thinking_factory.py b/docutranslate/agents/thinking/thinking_factory.py index e1753fe..1b6c61c 100644 --- a/docutranslate/agents/thinking/thinking_factory.py +++ b/docutranslate/agents/thinking/thinking_factory.py @@ -39,7 +39,7 @@ def get_thinking_mode_by_model_id(model_id: str) -> tuple[str, str | dict, str | model_id = model_id.strip().lower() if "glm-4.5" in model_id: return thinking_mode["bigmodel"] - elif "qwen/qwen3" in model_id: + elif "qwen3" in model_id: return thinking_mode["aliyun"] elif "seed-1-6" in model_id: return thinking_mode["volces"]