OpenClaw Ollama Cloud: Three-Layer Fix for Missing Models and Doctor Delete Bug

User /u/christof21 reports a frustrating clean install of OpenClaw on Mac Mini with only one cloud model (kimi-k2.5:cloud) working, despite configuring three models. After deep debugging, they uncovered a three-layer issue touching provider registration, schema validation, and the doctor command's blind spot.
The Three-Layer Problem
OpenClaw's bundled model defaults only ship three Ollama Cloud models: kimi-k2.5:cloud, minimax-m2.7:cloud, and glm-5.1:cloud. Any custom models (e.g., deepseek-v4-pro:cloud, nemotron-3-ultra:cloud, minimax-m3:cloud) must be registered under models.providers.ollama-cloud.models[]. The installer config did not write these entries — that's why only kimi-k2.5 appeared.
Second, each model entry needs both an id and a name field to satisfy the gateway schema. Adding only id (as the runtime hint suggests) silently fails. The fix: include both.
Third, openclaw doctor --fix and config validate do not load the Ollama extension. Because they don't recognize ollama-cloud as a bundled provider, they complain "must declare baseUrl" and doctor --fix deletes your entire Ollama Cloud provider block. This is why the manual fix kept vanishing on restart.
The Fix
Add an explicit baseUrl: "https://ollama.com" (identical to the built-in value, no behavior change) to your provider config. This satisfies both the validator and the gateway.
providers:
ollama-cloud:
baseUrl: "https://ollama.com"
models:
- id: deepseek-v4-pro:cloud
name: deepseek-v4-pro:cloud
- id: nemotron-3-ultra:cloud
name: nemotron-3-ultra:cloud
- id: minimax-m3:cloud
name: minimax-m3:cloud
Warnings
- Do not run
openclaw doctor --fix— it will nuke your block again. Validate manually or skip doctor entirely. - When adding more cloud models later, add them to both
agents.defaults.modelsand the providers list with{id, name}. - Keep the
baseUrlline — it's the only defense against doctor's deletion.
For now, the workaround works. A permanent fix would require the doctor command to load extensions before validating providers — but that's upstream.
📖 Read the full source: r/openclaw
👀 See Also

Setting up OpenClaw on macOS with a unified AI provider endpoint
A developer shares their experience installing OpenClaw on macOS, including the requirement for Node.js 24, using Homebrew for installation, configuring a custom OpenAI-compatible provider like ZenMux, and setting up a background daemon. Key troubleshooting tips include WhatsApp's default message blocking and using the openclaw doctor command.

Building a Fully Local Multi-Agent Assistant with OpenClaw and Ollama
A developer shares their stack for a fully local personal AI assistant using OpenClaw and Ollama, including models qwen3.5:35b-a3b, gemma3:4b, mistral:7b, MCP servers for Home Assistant and Gmail, and a Telegram Bot interface.

Fixing Claude Cowork 'Failed to start workspace' errors on Windows 11 Home
A user solved Claude Cowork startup errors on Windows 11 Home by installing Windows Subsystem for Linux (WSL2) from the Microsoft Store, which is required for the underlying VM technology.

Practical AI Coding Strategies from 1000 Hours of Experience
A Reddit post outlines specific prompting levels and workflow strategies for using AI coding agents effectively, including treating AI as a junior developer, phased implementation, and using instruction files.