多语言散落补全

This commit is contained in:
potaser
2026-08-09 22:58:26 +08:00
parent 963e4ddc73
commit 87c158efe5
2 changed files with 4 additions and 1 deletions
@@ -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()
+2 -1
View File
@@ -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"