| { |
| "gateway": { |
| "mode": "local", |
| "bind": "lan", |
| "port": 7860, |
| "auth": { "token": "openclaw-space-default" }, |
| "controlUi": { |
| "allowInsecureAuth": true, |
| "allowedOrigins": [ |
| "https://huggingface.co" |
| ] |
| } |
| }, |
| "session": { "scope": "global" }, |
| "models": { |
| "mode": "merge", |
| "providers": { |
| "zhipu": { |
| "baseUrl": "https://open.bigmodel.cn/api/anthropic", |
| "apiKey": "<ENV_VAR>", |
| "api": "anthropic-messages", |
| "models": [ |
| { "id": "glm-4.5-air", "name": "GLM-4.5 Air" }, |
| { "id": "glm-4.5", "name": "GLM-4.5" }, |
| { "id": "glm-4.6", "name": "GLM-4.6" } |
| ] |
| }, |
| "hf": { |
| "baseUrl": "https://router.huggingface.co/v1", |
| "apiKey": "<ENV_VAR>", |
| "api": "openai-completions", |
| "models": [ |
| { "id": "Qwen/Qwen2.5-7B-Instruct", "name": "Qwen2.5 7B (HF Router)" } |
| ] |
| } |
| } |
| }, |
| "plugins": { |
| "entries": { |
| "telegram": { |
| "enabled": true |
| }, |
| "whatsapp": { |
| "enabled": true |
| } |
| } |
| }, |
| "agents": { |
| "defaults": { |
| "workspace": "~/.openclaw/workspace", |
| "model": { "primary": "zhipu/glm-4.5-air" } |
| } |
| } |
| } |
|
|