From 1fb00f8a3082b7c55d262fa6d87764a051f89d9a Mon Sep 17 00:00:00 2001 From: 16337 <1633794139@qq.com> Date: Fri, 20 Mar 2026 11:32:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=E6=84=8F=E5=9B=BE?= =?UTF-8?q?=E6=9F=A5=E8=AF=A2=E6=97=B6=E4=B8=A2=E5=BC=83=20VLM=20=E7=BC=96?= =?UTF-8?q?=E9=80=A0=E7=9A=84=E5=9B=9E=E5=A4=8D=EF=BC=8C=E5=8F=AA=E8=BF=94?= =?UTF-8?q?=E5=9B=9E=E7=9C=9F=E5=AE=9E=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit VLM 会先编一个假答案再附加意图标记,导致用户看到矛盾的信息。 现在检测到意图标记后直接执行真实查询,不拼接 VLM 的回复。 --- app/services/agent_dispatcher.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/services/agent_dispatcher.py b/app/services/agent_dispatcher.py index b775de6..6bbb428 100644 --- a/app/services/agent_dispatcher.py +++ b/app/services/agent_dispatcher.py @@ -114,9 +114,13 @@ class AgentDispatcher: # 检查是否有嵌入的意图标记 intent_result = self._extract_intent(reply) if intent_result: - clean_reply = reply.split("