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

This commit is contained in:
04cb
2026-05-03 22:59:08 +08:00
committed by Xubin Ren
parent 7faa339902
commit c15d816d9c
+4
View File
@@ -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