From c15d816d9c318719056be28342f260b5bed90609 Mon Sep 17 00:00:00 2001 From: 04cb <0x04cb@gmail.com> Date: Sun, 3 May 2026 22:30:42 +0800 Subject: [PATCH] fix(cli): intercept _retry_wait so provider retry messages don't garble interactive output (#3600) --- nanobot/cli/commands.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nanobot/cli/commands.py b/nanobot/cli/commands.py index 952742ea..7386904d 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