Skip to content

Commit 3ca8dd2

Browse files
authored
fix: prevent duplicate error message when all LLM providers fail (#5183)
1 parent 3476afc commit 3ca8dd2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

astrbot/core/agent/runners/tool_loop_agent_runner.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,7 @@ async def step(self):
357357
),
358358
),
359359
)
360+
return
360361

361362
if not llm_resp.tools_call_name:
362363
# 如果没有工具调用,转换到完成状态

0 commit comments

Comments
 (0)