-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopenclaw.example.json
More file actions
120 lines (120 loc) · 2.99 KB
/
openclaw.example.json
File metadata and controls
120 lines (120 loc) · 2.99 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
{
"models": {
"mode": "merge",
"providers": {
"claude-proxy": {
"baseUrl": "http://127.0.0.1:3456",
"apiKey": "not-needed",
"api": "anthropic-messages",
"models": [
{
"id": "claude-opus-4-6",
"name": "Claude Opus 4.6",
"contextWindow": 200000,
"maxTokens": 16384,
"reasoning": true
},
{
"id": "claude-sonnet-4-6",
"name": "Claude Sonnet 4.6",
"contextWindow": 200000,
"maxTokens": 16384,
"reasoning": true
},
{
"id": "claude-haiku-4-5-20251001",
"name": "Claude Haiku 4.5",
"contextWindow": 200000,
"maxTokens": 16384
}
]
},
"claude-max": {
"baseUrl": "http://127.0.0.1:3457/v1",
"apiKey": "not-needed",
"api": "openai-completions",
"models": [
{
"id": "claude-opus-4",
"name": "Claude Opus 4 (Max)",
"contextWindow": 200000,
"maxTokens": 16384,
"reasoning": true
},
{
"id": "claude-sonnet-4",
"name": "Claude Sonnet 4 (Max)",
"contextWindow": 200000,
"maxTokens": 16384,
"reasoning": true
},
{
"id": "claude-haiku-4",
"name": "Claude Haiku 4 (Max)",
"contextWindow": 200000,
"maxTokens": 16384
}
]
}
}
},
"agents": {
"defaults": {
"compaction": {
"mode": "safeguard"
},
"model": {
"primary": "claude-proxy/claude-sonnet-4-6"
},
"models": {
"claude-proxy/claude-opus-4-6": { "alias": "opus" },
"claude-proxy/claude-sonnet-4-6": { "alias": "sonnet" },
"claude-proxy/claude-haiku-4-5-20251001": { "alias": "haiku" },
"claude-max/claude-opus-4": { "alias": "max-opus" },
"claude-max/claude-sonnet-4": { "alias": "max-sonnet" },
"claude-max/claude-haiku-4": { "alias": "max-haiku" },
"qwen-portal/coder-model": { "alias": "qwen-coder" },
"qwen-portal/vision-model": { "alias": "qwen-vision" }
},
"subagents": {
"model": "claude-proxy/claude-haiku-4-5-20251001"
}
}
},
"commands": {
"native": "auto",
"nativeSkills": "auto",
"restart": true
},
"gateway": {
"port": 18789,
"mode": "local",
"auth": {
"mode": "token",
"token": "<YOUR_GATEWAY_TOKEN>"
}
},
"channels": {
"telegram": {
"dmPolicy": "allowlist",
"groupPolicy": "allowlist",
"allowFrom": ["<YOUR_TELEGRAM_USER_ID>"],
"streamMode": "partial"
}
},
"plugins": {
"entries": {
"mnemon": {
"config": {
"compact": false,
"nudge": true,
"remind": true
},
"enabled": true
},
"telegram": {
"enabled": true
}
}
}
}