fix: use /api/tags endpoint for Ollama model listing (#16000) (#16003)

After upgrading to v0.26.0, the Ollama provider returns an empty model
list because the Go rewrite uses `/api/ps` (only running models) instead
of `/api/tags` (all installed models). This PR changes the endpoint to
`/api/tags`, restoring the ability to list and add Ollama models.

Closes #16000
This commit is contained in:
zaviermeekz-cpu
2026-06-14 22:20:15 -04:00
committed by GitHub
parent 32d5c0039b
commit 83e2180e80

View File

@@ -2,7 +2,7 @@
"name": "ollama",
"url_suffix": {
"chat": "api/chat",
"models": "api/ps",
"models": "api/tags",
"embedding": "api/embed"
},
"class": "local"