#ollama local ia model rtx 4070
1 messages · Page 1 of 1 (latest)
That error means the Ollama model OpenClaw is trying to use only has an 8k context window (8192), but OpenClaw hard-requires ≥ 16k to run the agent/tool prompts reliably.
Fix (pick one)
A) Switch to an Ollama model that has ≥16k context
- Check what OpenClaw sees:
openclaw models list - Pick an
ollama/...model that showscontextWindow >= 16000, then set it:openclaw config set agents.defaults.model.primary "ollama/<model-id>" openclaw gateway restart
B) If OpenClaw keeps showing 8192 for everything (auto-discovery default)
Ollama sometimes doesn’t report context length, and OpenClaw then defaults to 8192.