Skip to content

Commit 0142956

Browse files
committed
fix: prevent duplicate error message when all LLM providers fail
1 parent 3476afc commit 0142956

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

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)