mirror of
https://github.com/harivansh-afk/nix.git
synced 2026-04-20 16:05:18 +00:00
replace pi with openclaw (#60)
This commit is contained in:
parent
be2370f406
commit
630ec774ce
12 changed files with 160 additions and 114 deletions
49
config/openclaw/openclaw.json
Normal file
49
config/openclaw/openclaw.json
Normal file
|
|
@ -0,0 +1,49 @@
|
|||
{
|
||||
gateway: {
|
||||
mode: "local",
|
||||
bind: "loopback",
|
||||
port: 2470,
|
||||
trustedProxies: ["127.0.0.1", "::1"],
|
||||
controlUi: {
|
||||
enabled: true,
|
||||
allowedOrigins: ["https://netty.harivan.sh"],
|
||||
},
|
||||
auth: {
|
||||
mode: "token",
|
||||
token: "${OPENCLAW_GATEWAY_TOKEN}",
|
||||
},
|
||||
},
|
||||
|
||||
channels: {
|
||||
telegram: {
|
||||
enabled: true,
|
||||
botToken: "${TELEGRAM_BOT_TOKEN}",
|
||||
dmPolicy: "pairing",
|
||||
},
|
||||
},
|
||||
|
||||
agents: {
|
||||
defaults: {
|
||||
workspace: "~/.openclaw/workspace",
|
||||
model: {
|
||||
primary: "anthropic/claude-sonnet-4-6",
|
||||
},
|
||||
sandbox: {
|
||||
mode: "non-main",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
tools: {
|
||||
profile: "coding",
|
||||
deny: [
|
||||
"browser",
|
||||
"canvas",
|
||||
"cron",
|
||||
"gateway",
|
||||
"nodes",
|
||||
"sessions_send",
|
||||
"sessions_spawn",
|
||||
],
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue