wenyin commited on
Commit
7a2f614
·
verified ·
1 Parent(s): d26e380

Update start-openclaw.sh

Browse files
Files changed (1) hide show
  1. start-openclaw.sh +35 -114
start-openclaw.sh CHANGED
@@ -55,15 +55,8 @@ if [ ! -f $BASE_DIR/openclaw.json ]; then
55
  "name": "minimaxai/minimax-m2.5 (Custom Provider)",
56
  "api": "openai-completions",
57
  "reasoning": false,
58
- "input": [
59
- "text"
60
- ],
61
- "cost": {
62
- "input": 0,
63
- "output": 0,
64
- "cacheRead": 0,
65
- "cacheWrite": 0
66
- },
67
  "contextWindow": 200000,
68
  "maxTokens": 8192
69
  },
@@ -72,16 +65,8 @@ if [ ! -f $BASE_DIR/openclaw.json ]; then
72
  "name": "nvidia/nemotron-3-super-120b-a12b",
73
  "api": "openai-completions",
74
  "reasoning": false,
75
- "input": [
76
- "text",
77
- "image"
78
- ],
79
- "cost": {
80
- "input": 0,
81
- "output": 0,
82
- "cacheRead": 0,
83
- "cacheWrite": 0
84
- },
85
  "contextWindow": 200000,
86
  "maxTokens": 16384
87
  },
@@ -90,16 +75,8 @@ if [ ! -f $BASE_DIR/openclaw.json ]; then
90
  "name": "openai/gpt-oss-120b",
91
  "api": "openai-completions",
92
  "reasoning": false,
93
- "input": [
94
- "text",
95
- "image"
96
- ],
97
- "cost": {
98
- "input": 0,
99
- "output": 0,
100
- "cacheRead": 0,
101
- "cacheWrite": 0
102
- },
103
  "contextWindow": 200000,
104
  "maxTokens": 16384
105
  },
@@ -108,16 +85,8 @@ if [ ! -f $BASE_DIR/openclaw.json ]; then
108
  "name": "qwen/qwen3.5-397b-a17b",
109
  "api": "openai-completions",
110
  "reasoning": false,
111
- "input": [
112
- "text",
113
- "image"
114
- ],
115
- "cost": {
116
- "input": 0,
117
- "output": 0,
118
- "cacheRead": 0,
119
- "cacheWrite": 0
120
- },
121
  "contextWindow": 200000,
122
  "maxTokens": 16384
123
  }
@@ -133,16 +102,8 @@ if [ ! -f $BASE_DIR/openclaw.json ]; then
133
  "name": "gemini-3-flash-preview",
134
  "api": "openai-completions",
135
  "reasoning": false,
136
- "input": [
137
- "text",
138
- "image"
139
- ],
140
- "cost": {
141
- "input": 0,
142
- "output": 0,
143
- "cacheRead": 0,
144
- "cacheWrite": 0
145
- },
146
  "contextWindow": 200000,
147
  "maxTokens": 16384
148
  },
@@ -151,16 +112,8 @@ if [ ! -f $BASE_DIR/openclaw.json ]; then
151
  "name": "gemini-3.1-flash-lite-preview",
152
  "api": "openai-completions",
153
  "reasoning": false,
154
- "input": [
155
- "text",
156
- "image"
157
- ],
158
- "cost": {
159
- "input": 0,
160
- "output": 0,
161
- "cacheRead": 0,
162
- "cacheWrite": 0
163
- },
164
  "contextWindow": 200000,
165
  "maxTokens": 16384
166
  }
@@ -176,16 +129,8 @@ if [ ! -f $BASE_DIR/openclaw.json ]; then
176
  "name": "qwen3-coder-flash",
177
  "api": "openai-completions",
178
  "reasoning": false,
179
- "input": [
180
- "text",
181
- "image"
182
- ],
183
- "cost": {
184
- "input": 0,
185
- "output": 0,
186
- "cacheRead": 0,
187
- "cacheWrite": 0
188
- },
189
  "contextWindow": 200000,
190
  "maxTokens": 16384
191
  }
@@ -195,9 +140,7 @@ if [ ! -f $BASE_DIR/openclaw.json ]; then
195
  },
196
  "agents": {
197
  "defaults": {
198
- "model": {
199
- "primary": "gemini-auth/gemini-3.1-flash-lite-preview"
200
- },
201
  "models": {
202
  "gemini-auth/gemini-3.1-flash-lite-preview": {},
203
  "custom-nvidia/minimaxai/minimax-m2.5": {},
@@ -207,7 +150,7 @@ if [ ! -f $BASE_DIR/openclaw.json ]; then
207
  "gemini-auth/gemini-3-flash-preview": {},
208
  "qwen-auth/qwen3-coder-flash": {}
209
  },
210
- "workspace": "$BASE_DIR/workspace"
211
  },
212
  "list": [
213
  {
@@ -229,10 +172,7 @@ if [ ! -f $BASE_DIR/openclaw.json ]; then
229
  "tools": {
230
  "profile": "full",
231
  "web": {
232
- "search": {
233
- "enabled": true,
234
- "provider": "duckduckgo"
235
- }
236
  }
237
  },
238
  "commands": {
@@ -241,25 +181,15 @@ if [ ! -f $BASE_DIR/openclaw.json ]; then
241
  "restart": true,
242
  "ownerDisplay": "raw"
243
  },
244
- "session": {
245
- "dmScope": "per-channel-peer"
246
- },
247
  "hooks": {
248
  "internal": {
249
  "enabled": true,
250
  "entries": {
251
- "boot-md": {
252
- "enabled": true
253
- },
254
- "bootstrap-extra-files": {
255
- "enabled": true
256
- },
257
- "command-logger": {
258
- "enabled": true
259
- },
260
- "session-memory": {
261
- "enabled": true
262
- }
263
  }
264
  }
265
  },
@@ -267,14 +197,8 @@ if [ ! -f $BASE_DIR/openclaw.json ]; then
267
  "port": 7860,
268
  "mode": "local",
269
  "bind": "lan",
270
- "auth": {
271
- "mode": "token",
272
- "token": "${OPENCLAW_TOKEN}"
273
- },
274
- "tailscale": {
275
- "mode": "off",
276
- "resetOnExit": false
277
- },
278
  "trustedProxies": ["10.16.0.0/16"],
279
  "controlUi": {
280
  "allowedOrigins": [
@@ -284,23 +208,20 @@ if [ ! -f $BASE_DIR/openclaw.json ]; then
284
  ]
285
  }
286
  },
287
- "nodes": {
288
- "denyCommands": [
289
- "camera.snap",
290
- "camera.clip",
291
- "screen.record",
292
- "contacts.add",
293
- "calendar.add",
294
- "reminders.add",
295
- "sms.send"
296
- ]
297
- }
298
  },
299
  "plugins": {
300
  "entries": {
301
- "duckduckgo": {
302
- "enabled": true
303
- }
304
  }
305
  }
306
  }
 
55
  "name": "minimaxai/minimax-m2.5 (Custom Provider)",
56
  "api": "openai-completions",
57
  "reasoning": false,
58
+ "input": ["text"],
59
+ "cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
 
 
 
 
 
 
 
60
  "contextWindow": 200000,
61
  "maxTokens": 8192
62
  },
 
65
  "name": "nvidia/nemotron-3-super-120b-a12b",
66
  "api": "openai-completions",
67
  "reasoning": false,
68
+ "input": ["text", "image"],
69
+ "cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
 
 
 
 
 
 
 
 
70
  "contextWindow": 200000,
71
  "maxTokens": 16384
72
  },
 
75
  "name": "openai/gpt-oss-120b",
76
  "api": "openai-completions",
77
  "reasoning": false,
78
+ "input": ["text", "image"],
79
+ "cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
 
 
 
 
 
 
 
 
80
  "contextWindow": 200000,
81
  "maxTokens": 16384
82
  },
 
85
  "name": "qwen/qwen3.5-397b-a17b",
86
  "api": "openai-completions",
87
  "reasoning": false,
88
+ "input": ["text", "image"],
89
+ "cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
 
 
 
 
 
 
 
 
90
  "contextWindow": 200000,
91
  "maxTokens": 16384
92
  }
 
102
  "name": "gemini-3-flash-preview",
103
  "api": "openai-completions",
104
  "reasoning": false,
105
+ "input": ["text", "image"],
106
+ "cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
 
 
 
 
 
 
 
 
107
  "contextWindow": 200000,
108
  "maxTokens": 16384
109
  },
 
112
  "name": "gemini-3.1-flash-lite-preview",
113
  "api": "openai-completions",
114
  "reasoning": false,
115
+ "input": ["text", "image"],
116
+ "cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
 
 
 
 
 
 
 
 
117
  "contextWindow": 200000,
118
  "maxTokens": 16384
119
  }
 
129
  "name": "qwen3-coder-flash",
130
  "api": "openai-completions",
131
  "reasoning": false,
132
+ "input": ["text", "image"],
133
+ "cost": { "input": 0, "output": 0, "cacheRead": 0, "cacheWrite": 0 },
 
 
 
 
 
 
 
 
134
  "contextWindow": 200000,
135
  "maxTokens": 16384
136
  }
 
140
  },
141
  "agents": {
142
  "defaults": {
143
+ "model": { "primary": "gemini-auth/gemini-3.1-flash-lite-preview" },
 
 
144
  "models": {
145
  "gemini-auth/gemini-3.1-flash-lite-preview": {},
146
  "custom-nvidia/minimaxai/minimax-m2.5": {},
 
150
  "gemini-auth/gemini-3-flash-preview": {},
151
  "qwen-auth/qwen3-coder-flash": {}
152
  },
153
+ "workspace": "/home/node/.openclaw/workspace"
154
  },
155
  "list": [
156
  {
 
172
  "tools": {
173
  "profile": "full",
174
  "web": {
175
+ "search": { "enabled": true, "provider": "duckduckgo" }
 
 
 
176
  }
177
  },
178
  "commands": {
 
181
  "restart": true,
182
  "ownerDisplay": "raw"
183
  },
184
+ "session": { "dmScope": "per-channel-peer" },
 
 
185
  "hooks": {
186
  "internal": {
187
  "enabled": true,
188
  "entries": {
189
+ "boot-md": { "enabled": true },
190
+ "bootstrap-extra-files": { "enabled": true },
191
+ "command-logger": { "enabled": true },
192
+ "session-memory": { "enabled": true }
 
 
 
 
 
 
 
 
193
  }
194
  }
195
  },
 
197
  "port": 7860,
198
  "mode": "local",
199
  "bind": "lan",
200
+ "auth": { "mode": "token", "token": "${OPENCLAW_TOKEN}" },
201
+ "tailscale": { "mode": "off", "resetOnExit": false },
 
 
 
 
 
 
202
  "trustedProxies": ["10.16.0.0/16"],
203
  "controlUi": {
204
  "allowedOrigins": [
 
208
  ]
209
  }
210
  },
211
+ "nodes": {
212
+ "denyCommands": [
213
+ "camera.snap",
214
+ "camera.clip",
215
+ "screen.record",
216
+ "contacts.add",
217
+ "calendar.add",
218
+ "reminders.add",
219
+ "sms.send"
220
+ ]
 
221
  },
222
  "plugins": {
223
  "entries": {
224
+ "duckduckgo": { "enabled": true }
 
 
225
  }
226
  }
227
  }