Use Claude Code, Codex, VSCode, Pi, and OpenCode (and 6 other harnesses) for free (1.3B+ free tokens) from your terminal, app, IDE, or phone, and now from the browser with native browser sessions (multi-harness + multi-model) like OpenClaw (voice supported + ToS friendly)
Python
CLAUDE_WORKSPACE and ALLOWED_DIR are not created if they don't exist
Alishahryar181aca99fea0f
diff --git a/server.py b/server.pyindex a3e85c0c..a1653d8b 100644--- a/server.py+++ b/server.py@@ -245,6 +245,7 @@ def get_provider() -> NvidiaNimProvider:# Internal storage path for bot data (sessions, etc.) - defined early for lifespanINTERNAL_DATA_PATH = os.path.abspath(os.getenv("CLAUDE_WORKSPACE", "agent_workspace"))+os.makedirs(INTERNAL_DATA_PATH, exist_ok=True)tele_client: Optional["TelegramClient"] = None@@ -309,6 +310,8 @@ else:# Fallback to internal data path if no ALLOWED_DIR specifiedCLI_WORKSPACE = INTERNAL_DATA_PATH+os.makedirs(CLI_WORKSPACE, exist_ok=True)+# Internal URL for the CLI to use (points to this server)INTERNAL_API_URL = "http://localhost:8082/v1"