-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.example.json
More file actions
51 lines (51 loc) · 1.46 KB
/
Copy pathconfig.example.json
File metadata and controls
51 lines (51 loc) · 1.46 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"_comment": "复制为 config.json 后按本机环境调整。不要提交真实 config.json、token 或外部通知目标。",
"webadmin": {
"chat": {
"_comment": "WebAdmin 会自动发现 supported local Agents:OpenClaw、codex、Claude Code。此处只用于覆盖 label/timeout/command 或禁用自动发现结果。",
"agent": "openclaw",
"agents": {
"openclaw": {
"type": "openclaw-gateway",
"label": "OpenClaw",
"gateway_url": "ws://127.0.0.1:18789",
"agent_id": "main",
"timeout_sec": 320,
"session_key_prefix": "auto-ziniao-webadmin:"
},
"codex": {
"type": "codex-cli",
"label": "Codex",
"timeout_sec": 600
},
"claude": {
"type": "claude-code-cli",
"label": "Claude Code",
"timeout_sec": 600
},
"custom-agent": {
"type": "command-cli",
"label": "自定义 Agent",
"disabled": true,
"command": ["custom-agent", "{prompt}"],
"timeout_sec": 300
}
}
}
},
"heal": {
"enabled": true,
"agent": "openclaw",
"cooldown_minutes": 60,
"max_per_day": 5,
"agents": {
"openclaw": {
"command": ["openclaw", "agent", "--session-key", "{session_key}", "--message", "{prompt}", "--timeout", "300"],
"timeout_sec": 320
}
}
},
"notify": {
"channel": "disabled"
}
}