Spaces:
wsm193
/
Runtime error

clawbot / openclaw.json
swayzsj's picture
Upload openclaw.json
ea88d87 verified
Raw History Blame Contribute Delete
3.86 kB
{
"models": {
"providers": {
"zai": {
"baseUrl": "https://open.bigmodel.cn/api/paas/v4",
"apiKey": "${OPENAI_API_KEY}",
"api": "openai-completions",
"models": [
{ "id": "glm-4.7-flash",
"name": "GLM-4.7 Flash",
"reasoning": true,
"input": [
"text"
],
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
},
"contextWindow": 204800,
"maxTokens": 131072
}
]
},
"nvidia": {
"baseUrl": "https://integrate.api.nvidia.com/v1",
"apiKey": "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",
"api": "openai-completions",
"models": [
{ "id": "z-ai/glm4.7", "name": "z-ai/glm4.7", "contextWindow": 128000 },
{ "id": "minimaxai/minimax-m2.1", "name": "minimaxai/minimax-m2.1", "contextWindow": 128000 },
{ "id": "deepseek-ai/deepseek-v3.2", "name": "deepseek-ai/deepseek-v3.2", "contextWindow": 128000 },
{ "id": "moonshotai/kimi-k2-thinking", "name": "moonshotai/kimi-k2-thinking", "contextWindow": 256000 }
]
},
"openrouter": {
"baseUrl": "https://openrouter.ai/api/v1",
"apiKey": "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",
"api": "openai-completions",
"models": [
{ "id": "openrouter/free", "name": "openrouter/free", "contextWindow": 128000 }
]
}
}
},
"agents": {
"defaults": {
"model": {
"primary": "${MODEL}",
"fallbacks": [
"nvidia/minimaxai/minimax-m2.1",
"nvidia/moonshotai/kimi-k2-thinking",
"nvidia/deepseek-ai/deepseek-v3.2",
"nvidia/z-ai/glm4.7",
"zai/glm-4.7-flash",
"openrouter/free"
]
},
"compaction": {
"mode": "safeguard",
"memoryFlush": {
"enabled": true,
"softThresholdTokens": 40000
}
},
"maxConcurrent": 4,
"subagents": {
"maxConcurrent": 8
}
}
},
"channels": {
"feishu": {
"enabled": true,
"appId": "cli_a93278d54f791cef",
"appSecret": "hp94NKlxdivVIQe4LmoSoft5souwyWAT",
"domain": "feishu",
"groupPolicy": "open",
"requireMention": true,
"streaming": true,
"dmPolicy": "all",
"allowFrom": ["*"],
"footer": {
"elapsed": true,
"status": true
}
}
},
"gateway": {
"mode": "local", "bind": "lan", "port": 7860,
"trustedProxies": ["0.0.0.0/0"],
"auth": { "mode": "token", "token": "${OPENCLAW_GATEWAY_PASSWORD}" },
"controlUi": {
"allowInsecureAuth": true,
"dangerouslyDisableDeviceAuth": true,
"allowedOrigins": ["*"],
"dangerouslyAllowHostHeaderOriginFallback": true
},
"nodes": {
"browser": {
"mode": "auto"
}
}
},
"tools": {
"profile": "full",
"web": {
"search": {
"enabled": false
},
"fetch": {
"enabled": true
}
},
"sessions": {
"visibility": "all"
}
},
"browser": {
"enabled": true,
"headless": true,
"noSandbox": true,
"defaultProfile": "openclaw",
"executablePath": "/root/.cache/ms-playwright/chromium/chrome-linux64/chrome"
},
"commands": {
"native": "auto",
"nativeSkills": "auto",
"restart": true,
"ownerDisplay": "raw"
},
"session": {
"dmScope": "per-channel-peer",
"maintenance": {
"mode": "enforce",
"resetArchiveRetention": "1d"
}
},
"plugins": {
"entries": {
"feishu": {
"enabled": true
}
}
}
}