mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 11:40:42 +00:00
fix(ollama): resolve cloud models omitted from tags
This commit is contained in:
@@ -192,6 +192,12 @@ When you set `OLLAMA_API_KEY` (or an auth profile) and **do not** define `models
|
||||
|
||||
This avoids manual model entries while keeping the catalog aligned with the local Ollama instance. You can use a full ref such as `ollama/<pulled-model>:latest` in local `infer model run`; OpenClaw resolves that installed model from Ollama's live catalog without requiring a hand-written `models.json` entry.
|
||||
|
||||
For signed-in Ollama hosts, some `:cloud` models may be usable through `/api/chat`
|
||||
and `/api/show` before they appear in `/api/tags`. When you explicitly select a
|
||||
full `ollama/<model>:cloud` ref, OpenClaw validates that exact missing model with
|
||||
`/api/show` and adds it to the runtime catalog only if Ollama confirms model
|
||||
metadata. Typos still fail as unknown models instead of being auto-created.
|
||||
|
||||
```bash
|
||||
# See what models are available
|
||||
ollama list
|
||||
|
||||
Reference in New Issue
Block a user