From e05f33b28624868e4f2c6cddb4d9b7048573372f Mon Sep 17 00:00:00 2001 From: lixinyue11 <94037597+lixinyue11@users.noreply.github.com> Date: Thu, 8 Jan 2026 16:13:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DRAG=E9=9B=86=E7=BE=A4BUG=20(#?= =?UTF-8?q?59)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/app/controllers/app_controller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/app/controllers/app_controller.py b/api/app/controllers/app_controller.py index d8479f97..f30b959d 100644 --- a/api/app/controllers/app_controller.py +++ b/api/app/controllers/app_controller.py @@ -506,7 +506,7 @@ async def draft_run( multi_agent_request = MultiAgentRunRequest( message=payload.message, conversation_id=payload.conversation_id, - user_id=payload.user_id, + user_id=payload.user_id or str(current_user.id), variables=payload.variables or {}, use_llm_routing=True # 默认启用 LLM 路由 )