From 87c158efe5e351a34d2acf24d31880c299f6dbb9 Mon Sep 17 00:00:00 2001 From: potaser Date: Sun, 9 Aug 2026 22:58:26 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=9A=E8=AF=AD=E8=A8=80=E6=95=A3=E8=90=BD?= =?UTF-8?q?=E8=A1=A5=E5=85=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- gfa_core/mas/agents/conversation_tools.py | 2 ++ gfa_core/mas/agents/router_runtime.py | 3 ++- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gfa_core/mas/agents/conversation_tools.py b/gfa_core/mas/agents/conversation_tools.py index 7c253712e..42bd2c9b5 100644 --- a/gfa_core/mas/agents/conversation_tools.py +++ b/gfa_core/mas/agents/conversation_tools.py @@ -53,6 +53,7 @@ class ConversationToolRegistry: *, workflow_id: str | None = None, guidance: bool = False, + language: str = "zh", ) -> str: text = str(query or "").strip() if self._analysis_handoff_resolver is None: @@ -62,6 +63,7 @@ class ConversationToolRegistry: text, workflow_id=workflow_id, guidance=guidance, + language=language, ) or "" ).strip() diff --git a/gfa_core/mas/agents/router_runtime.py b/gfa_core/mas/agents/router_runtime.py index 2c71aec51..80cccdbf3 100644 --- a/gfa_core/mas/agents/router_runtime.py +++ b/gfa_core/mas/agents/router_runtime.py @@ -1405,6 +1405,7 @@ class RouterRuntime: effective_query, workflow_id=decision.workflow_id, guidance=decision.analysis_request_kind == "guidance", + language=language, ) if decision.analysis_request_kind == "guidance": proposal_query = ( @@ -1908,7 +1909,7 @@ class RouterRuntime: tool_trace=tool_trace, interaction_kind=decision.interaction_kind, ) - ) + if ( semantic_reason is None and decision.goal == "project_status"