Skip to content

Your lightweight open-source personal agent.

fix(cli): intercept _retry_wait so provider retry messages don't garble interactive output (#3600)

04cbc15d816d9c31
diff --git a/nanobot/cli/commands.py b/nanobot/cli/commands.py
index 952742ea4..7386904d2 100644
--- a/nanobot/cli/commands.py
+++ b/nanobot/cli/commands.py
@@ -1127,6 +1127,10 @@ def agent(
turn_done.set()
continue
+ if msg.metadata.get("_retry_wait"):
+ await _print_interactive_progress_line(msg.content, _thinking)
+ continue
+
if msg.metadata.get("_progress"):
is_tool_hint = msg.metadata.get("_tool_hint", False)
ch = agent_loop.channels_config