Skip to content

Bug: CLI shows available: false for local Ollama models that are running and working #92224

Description

@lingfeizi

Bug Description

The openclaw models list CLI command shows available: false for local Ollama models that are actually running and working correctly.

Reproduction

  1. Have Ollama running with a model loaded (e.g. qwen3.6:35b-a3b)
  2. Confirm it is working in active sessions
  3. Run openclaw models list --json

Actual Behavior

{
  "key": "ollama/qwen3.6:35b-a3b",
  "name": "qwen3.6:35b-a3b",
  "available": false,
  "local": true,
  "missing": false
}

Expected Behavior
available should be true when the Ollama service is running and the model is loaded.

Verification
curl http://127.0.0.1:11434/api/tags returns the model
session_status shows the model is active and working
openclaw status shows gateway is running
Environment
OpenClaw version: 2026.6.5 (5181e4f)
OS: linux 6.6.87.2-microsoft-standard-WSL2 (x64)
Node: 22.22.0
Ollama: service running on 127.0.0.1:11434
Model: ollama/qwen3.6:35b-a3b
Notes
This is a display bug - the model works fine in active sessions. The available field appears to be hardcoded to false for local models rather than actually checking Ollama connectivity.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Normal backlog priority with limited blast radius.clawsweeper:needs-live-reproClawSweeper needs live local, crabbox, or manual validation to confirm this issue.impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.issue-rating: 🐚 platinum hermitGood issue quality with a plausible reproduction path needing some confirmation.

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions