fix openclaw config (#61)
Some checks are pending
quality / changes (push) Waiting to run
quality / Flake Check (push) Blocked by required conditions
quality / Nix Format Check (push) Blocked by required conditions
quality / Deploy netty (push) Blocked by required conditions

This commit is contained in:
Hari 2026-04-03 11:49:26 -04:00 committed by GitHub
parent 630ec774ce
commit a4786ff6b8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,49 +1,43 @@
{
gateway: {
mode: "local",
bind: "loopback",
port: 2470,
trustedProxies: ["127.0.0.1", "::1"],
controlUi: {
enabled: true,
allowedOrigins: ["https://netty.harivan.sh"],
"gateway": {
"mode": "local",
"bind": "loopback",
"port": 2470,
"trustedProxies": ["127.0.0.1", "::1"],
"controlUi": {
"allowedOrigins": ["https://netty.harivan.sh"]
},
auth: {
mode: "token",
token: "${OPENCLAW_GATEWAY_TOKEN}",
"auth": {
"mode": "token",
"token": "${OPENCLAW_GATEWAY_TOKEN}"
}
},
"channels": {
"telegram": {
"botToken": "${TELEGRAM_BOT_TOKEN}",
"dmPolicy": "pairing"
}
},
channels: {
telegram: {
enabled: true,
botToken: "${TELEGRAM_BOT_TOKEN}",
dmPolicy: "pairing",
"agents": {
"defaults": {
"workspace": "~/.openclaw/workspace",
"skipBootstrap": true,
"model": {
"primary": "anthropic/claude-sonnet-4-6"
},
"sandbox": {
"mode": "non-main"
}
}
},
agents: {
defaults: {
workspace: "~/.openclaw/workspace",
model: {
primary: "anthropic/claude-sonnet-4-6",
"tools": {
"profile": "coding",
"fs": {
"workspaceOnly": true
},
sandbox: {
mode: "non-main",
},
},
},
tools: {
profile: "coding",
deny: [
"browser",
"canvas",
"cron",
"gateway",
"nodes",
"sessions_send",
"sessions_spawn",
],
"loopDetection": {
"enabled": true
},
"deny": ["sessions_send", "sessions_spawn"]
}
}