mirror of
https://github.com/HKUDS/nanobot.git
synced 2026-08-07 01:48:53 +00:00
fix(cli): intercept _retry_wait so provider retry messages don't garble interactive output (#3600)
This commit is contained in:
parent
7faa339902
commit
c15d816d9c
@ -1127,6 +1127,10 @@ def agent(
|
|||||||
turn_done.set()
|
turn_done.set()
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
if msg.metadata.get("_retry_wait"):
|
||||||
|
await _print_interactive_progress_line(msg.content, _thinking)
|
||||||
|
continue
|
||||||
|
|
||||||
if msg.metadata.get("_progress"):
|
if msg.metadata.get("_progress"):
|
||||||
is_tool_hint = msg.metadata.get("_tool_hint", False)
|
is_tool_hint = msg.metadata.get("_tool_hint", False)
|
||||||
ch = agent_loop.channels_config
|
ch = agent_loop.channels_config
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user