From 5b5cecae6adb78743f0b248c8f424e0d154abdc2 Mon Sep 17 00:00:00 2001 From: martsforever Date: Wed, 26 Nov 2025 12:46:27 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20LangGraph=E6=8E=A5=E5=8F=A3=E6=94=B9?= =?UTF-8?q?=E7=94=A8bailian-qwen3-max=E6=A8=A1=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/config/ai_configs.py | 5 +++++ app/controller/add_langgraph_chat_route.py | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/config/ai_configs.py b/app/config/ai_configs.py index 13a1306..6bba938 100644 --- a/app/config/ai_configs.py +++ b/app/config/ai_configs.py @@ -71,6 +71,11 @@ ai_configs = { 'url': 'https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions', 'key': env.llm_key_bailian, }, + 'bailian-qwen3-max': { + 'model': 'qwen3-max', + 'url': 'https://dashscope.aliyuncs.com/compatible-mode/v1/chat/completions', + 'key': env.llm_key_bailian, + }, 'bailian-embedding': { 'model': 'text-embedding-v4', 'url': 'https://dashscope.aliyuncs.com/compatible-mode/v1/embeddings', diff --git a/app/controller/add_langgraph_chat_route.py b/app/controller/add_langgraph_chat_route.py index 289f910..54de98d 100644 --- a/app/controller/add_langgraph_chat_route.py +++ b/app/controller/add_langgraph_chat_route.py @@ -35,7 +35,7 @@ class ChatAgent: @staticmethod async def get_agent(system_prompt: str | None = None) -> CompiledStateGraph: return create_react_agent( - model=create_llm("huoshan-think-pro"), + model=create_llm("bailian-qwen3-max"), tools=tool_list, checkpointer=await PostgresCheckpointerManager.get_instance(), prompt=system_prompt or """