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 command now respects workspace from config
Cheng Wangcd2025207248
diff --git a/nanobot/cli/commands.py b/nanobot/cli/commands.pyindex d2935642e..6caa0a74c 100644--- a/nanobot/cli/commands.py+++ b/nanobot/cli/commands.py@@ -609,17 +609,23 @@ def status():"""Show nanobot status."""from nanobot.config.loader import load_config, get_config_pathfrom nanobot.utils.helpers import get_workspace_path-+config_path = get_config_path()- workspace = get_workspace_path()-++ # Load config first to get the correct workspace path+ if config_path.exists():+ config = load_config()+ workspace = config.workspace_path+ else:+ config = None+ workspace = get_workspace_path()+console.print(f"{__logo__} nanobot Status\n")-+console.print(f"Config: {config_path} {'[green]✓[/green]' if config_path.exists() else '[red]✗[/red]'}")console.print(f"Workspace: {workspace} {'[green]✓[/green]' if workspace.exists() else '[red]✗[/red]'}")-- if config_path.exists():- config = load_config()++ if config is not None:console.print(f"Model: {config.agents.defaults.model}")# Check API keys