openclaw / openclaw.json
shuiseliuli's picture
Create openclaw.json
9c8f76b verified
Raw
History Blame Contribute Delete
3.83 kB
{
"models": {
"providers": {
"mimo": {
"baseUrl": "https://token-plan-sgp.xiaomimimo.com/v1",
"apiKey": "${MIMO_API_KEY}",
"api": "openai-completions",
"models": [
{ "id": "mimo-v2.5-pro", "name": "mimo-v2.5-pro", "input": ["text", "image"], "contextWindow": 128000, "maxTokens": 8192 }
]
},
"nvidia": {
"baseUrl": "https://integrate.api.nvidia.com/v1",
"apiKey": "${NVIDIA_API_KEY}",
"api": "openai-completions",
"models": [
{ "id": "qwen/qwen3.5-397b-a17b", "name": "qwen/qwen3.5-397b-a17b", "input": ["text", "image"], "contextWindow": 128000, "maxTokens": 8192 },
{ "id": "stepfun-ai/step-3.5-flash", "name": "stepfun-ai/step-3.5-flash", "input": ["text", "image"], "contextWindow": 256000, "maxTokens": 8192 },
{ "id": "moonshotai/kimi-k2.5", "name": "moonshotai/kimi-k2.5", "input": ["text", "image"], "contextWindow": 256000, "maxTokens": 8192 },
{ "id": "z-ai/glm4.7", "name": "z-ai/glm4.7", "input": ["text", "image"], "contextWindow": 128000, "maxTokens": 8192 },
{ "id": "z-ai/glm5", "name": "z-ai/glm5", "input": ["text", "image"], "contextWindow": 128000, "maxTokens": 8192 },
{ "id": "minimaxai/minimax-m2.5", "name": "minimaxai/minimax-m2.5", "input": ["text", "image"], "contextWindow": 192000, "maxTokens": 8192 }
]
},
"qiniu": {
"baseUrl": "https://api.qnaigc.com/v1",
"apiKey": "${QINIU_API_KEY}",
"api": "openai-completions",
"models": [
{ "id": "minimax/minimax-m2.5", "name": "minimax/minimax-m2.5", "input": ["text", "image"], "contextWindow": 128000, "maxTokens": 8192 }
]
},
"silicon": {
"baseUrl": "https://api.siliconflow.cn/v1",
"apiKey": "${SF_API_KEY}",
"api": "openai-completions",
"models": [
{ "id": "Pro/MiniMaxAI/MiniMax-M2.5", "name": "Pro/MiniMaxAI/MiniMax-M2.5", "input": ["text", "image"], "contextWindow": 128000, "maxTokens": 8192 }
]
}
}
},
"agents": { "defaults": { "model": { "primary": "${MODEL}" } } },
"channels": {
"feishu": {
"enabled": true,
"domain": "feishu",
"connectionMode": "websocket",
"appId": "${FEISHU_APP_ID}",
"appSecret": "${FEISHU_APP_SECRET}",
"requireMention": true,
"groupPolicy": "allowlist",
"groupAllowFrom": ["ou_0ef973aed7697c8a1d7628b42c572f7d"],
"groups": { "*": { "enabled": 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": true,
"provider": "brave",
"maxResults": 5
},
"fetch": { "enabled": true }
},
"agentToAgent": { "enabled": true }
},
"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": {
"maintenance": {
"mode": "enforce",
"resetArchiveRetention": "1d"
}
},
"plugins": {
"entries": {
"brave": {
"config": {
"webSearch": {
"apiKey": "${BRAVE_KEY}"
}
}
}
}
}
}