fix: silence unroutable cli progress noise

This commit is contained in:
chengyongru
2026-06-18 00:02:45 +08:00
committed by Xubin Ren
parent c29601d303
commit 0d4af68e63
3 changed files with 45 additions and 2 deletions
+4
View File
@@ -311,6 +311,9 @@ async def cmd_dream(ctx: CommandContext) -> OutboundMessage:
msg = ctx.msg
async def _run_dream():
async def _silent(*_args, **_kwargs):
pass
from nanobot.agent.memory import MemoryStore
dream_session_key = MemoryStore.dream_session_key
@@ -337,6 +340,7 @@ async def cmd_dream(ctx: CommandContext) -> OutboundMessage:
session_key=key,
ephemeral=True,
tools=store.build_dream_tools(),
on_progress=_silent,
)
elapsed = time.monotonic() - t0
if MemoryStore.dream_run_completed(resp):