多语言散落补全
This commit is contained in:
@@ -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()
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user