fix: prevent duplicate error message when all LLM providers fail (#5183)

This commit is contained in:
時壹
2026-02-18 17:29:35 +09:00
committed by GitHub
parent 3476afce41
commit 3ca8dd204f
@@ -357,6 +357,7 @@ class ToolLoopAgentRunner(BaseAgentRunner[TContext]):
),
),
)
return
if not llm_resp.tools_call_name:
# 如果没有工具调用,转换到完成状态