diff --git a/nanobot/command/builtin.py b/nanobot/command/builtin.py index d73d4ee6..299fa97b 100644 --- a/nanobot/command/builtin.py +++ b/nanobot/command/builtin.py @@ -56,7 +56,7 @@ async def cmd_status(ctx: CommandContext) -> OutboundMessage: pass if ctx_est <= 0: ctx_est = loop._last_usage.get("prompt_tokens", 0) - + # Fetch web search provider usage (best-effort, never blocks the response) search_usage_text: str | None = None try: diff --git a/tests/cli/test_restart_command.py b/tests/cli/test_restart_command.py index c6a69640..1e4ba517 100644 --- a/tests/cli/test_restart_command.py +++ b/tests/cli/test_restart_command.py @@ -10,7 +10,7 @@ from unittest.mock import AsyncMock, MagicMock, patch import pytest -from nanobot.bus.events import InboundMessage, OutboundMessage +from nanobot.bus.events import InboundMessage from nanobot.providers.base import LLMResponse