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
fix(status): use correct AgentLoop attribute for web search config
yanghan-cyber84f0571e0d17
diff --git a/nanobot/command/builtin.py b/nanobot/command/builtin.pyindex 8ead6a131..94e46320b 100644--- a/nanobot/command/builtin.py+++ b/nanobot/command/builtin.py@@ -65,8 +65,7 @@ async def cmd_status(ctx: CommandContext) -> OutboundMessage:search_usage_text: str | None = Nonetry:from nanobot.utils.searchusage import fetch_search_usage- web_cfg = getattr(getattr(loop, "config", None), "tools", None)- web_cfg = getattr(web_cfg, "web", None) if web_cfg else None+ web_cfg = getattr(loop, "web_config", None)search_cfg = getattr(web_cfg, "search", None) if web_cfg else Noneif search_cfg is not None:provider = getattr(search_cfg, "provider", "duckduckgo")