Spaces:
Runtime error
Runtime error
| set -e | |
| # NO TOOLS x4 | |
| export OPENCLAW_TOOLS_ENABLED=false | |
| export OPENCLAW_AGENT_TOOLS=false | |
| export OPENCLAW_SANDBOX_ENABLED=false | |
| export OPENCLAW_PLUGINS_ENABLED=false | |
| # Dossiers obligatoires | |
| mkdir -p ~/.openclaw/{workspace,agents/main/sessions,logs,canvas} | |
| chmod 700 ~/.openclaw | |
| # Config avec gateway.mode AVANT doctor | |
| cat > ~/.openclaw/openclaw.json << 'EOF' | |
| { | |
| "gateway": { | |
| "mode": "local", | |
| "port": 7860, | |
| "auth": { | |
| "mode": "token", | |
| "token": "hf-clawd-jarvis-20260223" | |
| } | |
| }, | |
| "agents": { | |
| "defaults": { | |
| "model": { | |
| "primary": "openrouter/nvidia/nemotron-3-nano-30b-a3b:free" | |
| } | |
| } | |
| } | |
| } | |
| EOF | |
| echo "🦞 OpenClaw HF Spaces - Nemotron 30B + --bind lan" | |
| exec openclaw gateway --port 7860 --bind lan --allow-unconfigured |