mirror of
https://github.com/harivansh-afk/nix.git
synced 2026-04-15 05:02:10 +00:00
fix openclaw config
This commit is contained in:
parent
630ec774ce
commit
6303b6df07
1 changed files with 36 additions and 42 deletions
|
|
@ -1,49 +1,43 @@
|
||||||
{
|
{
|
||||||
gateway: {
|
"gateway": {
|
||||||
mode: "local",
|
"mode": "local",
|
||||||
bind: "loopback",
|
"bind": "loopback",
|
||||||
port: 2470,
|
"port": 2470,
|
||||||
trustedProxies: ["127.0.0.1", "::1"],
|
"trustedProxies": ["127.0.0.1", "::1"],
|
||||||
controlUi: {
|
"controlUi": {
|
||||||
enabled: true,
|
"allowedOrigins": ["https://netty.harivan.sh"]
|
||||||
allowedOrigins: ["https://netty.harivan.sh"],
|
|
||||||
},
|
|
||||||
auth: {
|
|
||||||
mode: "token",
|
|
||||||
token: "${OPENCLAW_GATEWAY_TOKEN}",
|
|
||||||
},
|
},
|
||||||
|
"auth": {
|
||||||
|
"mode": "token",
|
||||||
|
"token": "${OPENCLAW_GATEWAY_TOKEN}"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
"channels": {
|
||||||
channels: {
|
"telegram": {
|
||||||
telegram: {
|
"botToken": "${TELEGRAM_BOT_TOKEN}",
|
||||||
enabled: true,
|
"dmPolicy": "pairing"
|
||||||
botToken: "${TELEGRAM_BOT_TOKEN}",
|
}
|
||||||
dmPolicy: "pairing",
|
|
||||||
},
|
|
||||||
},
|
},
|
||||||
|
"agents": {
|
||||||
agents: {
|
"defaults": {
|
||||||
defaults: {
|
"workspace": "~/.openclaw/workspace",
|
||||||
workspace: "~/.openclaw/workspace",
|
"skipBootstrap": true,
|
||||||
model: {
|
"model": {
|
||||||
primary: "anthropic/claude-sonnet-4-6",
|
"primary": "anthropic/claude-sonnet-4-6"
|
||||||
},
|
|
||||||
sandbox: {
|
|
||||||
mode: "non-main",
|
|
||||||
},
|
},
|
||||||
|
"sandbox": {
|
||||||
|
"mode": "non-main"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"tools": {
|
||||||
|
"profile": "coding",
|
||||||
|
"fs": {
|
||||||
|
"workspaceOnly": true
|
||||||
},
|
},
|
||||||
},
|
"loopDetection": {
|
||||||
|
"enabled": true
|
||||||
tools: {
|
},
|
||||||
profile: "coding",
|
"deny": ["sessions_send", "sessions_spawn"]
|
||||||
deny: [
|
}
|
||||||
"browser",
|
|
||||||
"canvas",
|
|
||||||
"cron",
|
|
||||||
"gateway",
|
|
||||||
"nodes",
|
|
||||||
"sessions_send",
|
|
||||||
"sessions_spawn",
|
|
||||||
],
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue