Bug type
Behavior bug (incorrect output/state without crash)
Beta release blocker
No
Summary
After updating OpenClaw from version 2026.3.24 to 2026.3.31, all requests to Ollama Cloud models fail with HTTP 401 "unauthorized". The same API key works perfectly when tested directly via curl against the Ollama API.
Steps to reproduce
Have a working setup with Ollama Cloud provider on version ≤2026.3.24
Update OpenClaw to version 2026.3.31
Attempt to use any Ollama Cloud model (e.g., kimi-k2.5:cloud)
Observe 401 authentication errors
Also on 2026.04.01
Expected behavior
Ollama Cloud requests should authenticate successfully using the configured API key, as they did in version 2026.3.24.
Actual behavior
HTTP 401: unauthorized
failoverReason: auth
model: kimi-k2.5:cloud
provider: ollama
rawErrorPreview: 401 unauthorized
OpenClaw version
2026.4.1
Operating system
6.12.74+deb13+1-amd64
Install method
pnpm
Model
Ollama Cloud
Provider / routing chain
openclaw ollama all llm
Additional provider/model setup details
No response
Logs, screenshots, and evidence
Tested with baseUrl: "https://ollama.com/api" → Results in 404 (double /api/api/chat path)
Tried restarting gateway after config changes
Token is confirmed valid via direct API call
Issue appears to be in how OpenClaw 2026.3.31 constructs/sends the Authorization header
Impact and severity
No response
Additional information
No response
Bug type
Behavior bug (incorrect output/state without crash)
Beta release blocker
No
Summary
After updating OpenClaw from version 2026.3.24 to 2026.3.31, all requests to Ollama Cloud models fail with HTTP 401 "unauthorized". The same API key works perfectly when tested directly via curl against the Ollama API.
Steps to reproduce
Have a working setup with Ollama Cloud provider on version ≤2026.3.24
Update OpenClaw to version 2026.3.31
Attempt to use any Ollama Cloud model (e.g., kimi-k2.5:cloud)
Observe 401 authentication errors
Also on 2026.04.01
Expected behavior
Ollama Cloud requests should authenticate successfully using the configured API key, as they did in version 2026.3.24.
Actual behavior
HTTP 401: unauthorized
failoverReason: auth
model: kimi-k2.5:cloud
provider: ollama
rawErrorPreview: 401 unauthorized
OpenClaw version
2026.4.1
Operating system
6.12.74+deb13+1-amd64
Install method
pnpm
Model
Ollama Cloud
Provider / routing chain
openclaw ollama all llm
Additional provider/model setup details
No response
Logs, screenshots, and evidence
Impact and severity
No response
Additional information
No response