ClawdBot-Jarvis / entrypoint_stable.sh
madibaalbert's picture
Rename entrypoint.sh to entrypoint_stable.sh
292d4e9 verified
raw
history blame contribute delete
787 Bytes
#!/bin/bash
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