mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-06-29 15:31:05 +08:00
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:
@@ -2,7 +2,7 @@
|
||||
"name": "ollama",
|
||||
"url_suffix": {
|
||||
"chat": "api/chat",
|
||||
"models": "api/ps",
|
||||
"models": "api/tags",
|
||||
"embedding": "api/embed"
|
||||
},
|
||||
"class": "local"
|
||||
|
||||
Reference in New Issue
Block a user