From c410bf704b731a0b097f0ae7592c1ba73c773092 Mon Sep 17 00:00:00 2001 From: silk Date: Mon, 8 Jun 2026 12:38:36 +0800 Subject: [PATCH] Update chat_router.py --- backend/api/chat_router.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/backend/api/chat_router.py b/backend/api/chat_router.py index c038292..681bd1d 100644 --- a/backend/api/chat_router.py +++ b/backend/api/chat_router.py @@ -118,7 +118,8 @@ async def chat_completion( f"knowledge_graph_id: {request.knowledge_graph_id}, " f"llm_provider: {request.llm_provider}, llm_model: {request.llm_model}, ip={client_ip}" ) - + request.llm_model = "qwen3-max" + request.llm_provider = "tongyi" # ============ 内容审核前置处理 ============ # 在 AI 处理前对用户消息进行内容审核 try: