Created
February 2, 2026 16:56
-
-
Save executeautomation/1407525dc0d542fe775f2f61e68f5a05 to your computer and use it in GitHub Desktop.
OpenClaw + Ollama + gpt-oss:20b configuration
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| "meta": { | |
| "lastTouchedVersion": "2026.1.30", | |
| "lastTouchedAt": "2026-02-01T16:48:36.938Z" | |
| }, | |
| "wizard": { | |
| "lastRunAt": "2026-02-01T16:48:36.935Z", | |
| "lastRunVersion": "2026.1.30", | |
| "lastRunCommand": "onboard", | |
| "lastRunMode": "local" | |
| }, | |
| "models": { | |
| "providers": { | |
| "ollama": { | |
| "baseUrl": "http://localhost:11434/v1", | |
| "apiKey": "ollama-local", | |
| "api": "openai-completions", | |
| "models": [ | |
| { | |
| "id": "gpt-oss:20b", | |
| "name": "gpt-oss:20b", | |
| "reasoning": true, | |
| "input": [ | |
| "text", | |
| "image" | |
| ], | |
| "cost": { | |
| "input": 0, | |
| "output": 0, | |
| "cacheRead": 0, | |
| "cacheWrite": 0 | |
| }, | |
| "contextWindow": 260000, | |
| "maxTokens": 260000 | |
| } | |
| ] | |
| } | |
| } | |
| }, | |
| "agents": { | |
| "defaults": { | |
| "model": { | |
| "primary": "ollama/gpt-oss:20b" | |
| }, | |
| "workspace": "/home/asus/.openclaw/workspace", | |
| "compaction": { | |
| "mode": "safeguard" | |
| }, | |
| "maxConcurrent": 4, | |
| "subagents": { | |
| "maxConcurrent": 8 | |
| }, | |
| "models": { | |
| "ollama/gpt-oss:20b": {} | |
| } | |
| } | |
| }, | |
| "messages": { | |
| "ackReactionScope": "group-mentions" | |
| }, | |
| "commands": { | |
| "native": "auto", | |
| "nativeSkills": "auto" | |
| }, | |
| "hooks": { | |
| "internal": { | |
| "enabled": true, | |
| "entries": { | |
| "session-memory": { | |
| "enabled": true | |
| } | |
| } | |
| } | |
| }, | |
| "channels": { | |
| "telegram": { | |
| "enabled": true, | |
| "dmPolicy": "pairing", | |
| "botToken": "8430889345:AAGTpGO03HN0Nd-7H2MgdRp1W8RF3wFOpkk", | |
| "groupPolicy": "allowlist", | |
| "streamMode": "partial" | |
| } | |
| }, | |
| "gateway": { | |
| "port": 18789, | |
| "mode": "local", | |
| "bind": "loopback", | |
| "auth": { | |
| "mode": "token", | |
| "token": "my-secure-token-asus-gx10" | |
| }, | |
| "tailscale": { | |
| "mode": "off", | |
| "resetOnExit": false | |
| } | |
| }, | |
| "skills": { | |
| "install": { | |
| "nodeManager": "npm" | |
| } | |
| }, | |
| "plugins": { | |
| "entries": { | |
| "telegram": { | |
| "enabled": true | |
| }, | |
| "whatsapp": { | |
| "enabled": false | |
| } | |
| } | |
| }, | |
| "browser": { | |
| "executablePath": "/usr/bin/brave-browser" | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To anyone having issues with ollama: when openclaw has "reasoning" enabled it sends the prompt (all the md files) as
developer, which ollama doesnt support. Settingmodels.providers.models.compat.supportsDeveloperRoleto false might fix for some people, but the underlying api package that openclaw uses,pi-mono/ai, is actually where this mixup occurs. tried adding it but the maintainer closed the pr 🤷reasoning has no reason to be tied to whether the prompt is sent as system or developer
I have forks for both openclaw and pi-mono that make the change so that ollama properly works with the responses api and allows you to keep reasoning on 👍