| { |
| "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": { |
| "google": { |
| "baseUrl": "https://generativelanguage.googleapis.com/v1beta", |
| "apiKey": "${GEMINI_API_KEY}", |
| "api": "google-generative-ai", |
| "models": [ |
| { |
| "id": "gemini-2.5-flash-lite", |
| "name": "Gemini 2.5 Flash Lite" |
| }, |
| { |
| "id": "gemini-2.5-flash", |
| "name": "Gemini 2.5 Flash" |
| }, |
| { |
| "id": "gemini-2.5-pro", |
| "name": "Gemini 2.5 Pro" |
| } |
| ] |
| }, |
| "hf": { |
| "baseUrl": "https://router.huggingface.co/v1", |
| "apiKey": "${HF_TOKEN}", |
| "api": "openai-completions", |
| "models": [ |
| { "id": "Qwen/Qwen2.5-7B-Instruct", "name": "Qwen2.5 7B (HF Router)" } |
| ] |
| } |
| } |
| }, |
| "plugins": { "entries": { "discord": { "enabled": true } } }, |
| "agents": { |
| "defaults": { |
| "workspace": "~/.openclaw/workspace", |
| "model": { |
| "primary": "google/gemini-2.5-flash-lite" |
| } |
| } |
| } |
| } |
|
|