Skip to content

Your lightweight open-source personal agent.

test(command): keep history tests lint-clean

Xubin Ren8ed10ac7dff0
diff --git a/nanobot/command/builtin.py b/nanobot/command/builtin.py
index d73d4ee62..299fa97b3 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 c6a69640f..1e4ba5179 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