From 65f547c4007486d566b665f4cf50d4ed376140be Mon Sep 17 00:00:00 2001 From: yumoqing Date: Tue, 18 Aug 2026 12:53:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20agent=5Fchat=20=E4=BC=A0=20base=5Furl=20?= =?UTF-8?q?=E7=BB=99=20gateway=EF=BC=88/task=20=E5=BC=B9=E7=AA=97=20url=20?= =?UTF-8?q?=E5=AE=8C=E6=95=B4=E5=8C=96=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wwwroot/api/agent_chat.dspy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wwwroot/api/agent_chat.dspy b/wwwroot/api/agent_chat.dspy index 1333e06..9559a5f 100644 --- a/wwwroot/api/agent_chat.dspy +++ b/wwwroot/api/agent_chat.dspy @@ -79,7 +79,8 @@ if action == 'send_message': gateway = get_gateway() async def agent_stream(): - async for chunk in gateway.run_message("web", uid, prompt): + _base = entire_url("/") + async for chunk in gateway.run_message("web", uid, prompt, base_url=_base): data = json.loads(chunk) t = data.get('type', '')