Your lightweight open-source personal agent.
Python agent-frameworkai-agentai-agentschatbotchatopsdiscord-botllm-agentsllmslocal-llmmcpmodel-context-protocolmulti-agentopenai-compatibleopenclawpersonal-ai-assistantpythonself-hostedtelegram-bot-ai-assistantwebuiworkflow-automation
test(command): keep history tests lint-clean
Xubin Ren8ed10ac7dff0
diff --git a/nanobot/command/builtin.py b/nanobot/command/builtin.pyindex d73d4ee62..299fa97b3 100644--- a/nanobot/command/builtin.py+++ b/nanobot/command/builtin.py@@ -56,7 +56,7 @@ async def cmd_status(ctx: CommandContext) -> OutboundMessage:passif 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 = Nonetry:diff --git a/tests/cli/test_restart_command.py b/tests/cli/test_restart_command.pyindex 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, patchimport pytest-from nanobot.bus.events import InboundMessage, OutboundMessage+from nanobot.bus.events import InboundMessagefrom nanobot.providers.base import LLMResponse