mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-07-01 16:25:44 +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
9 lines
144 B
JSON
9 lines
144 B
JSON
{
|
|
"name": "ollama",
|
|
"url_suffix": {
|
|
"chat": "api/chat",
|
|
"models": "api/tags",
|
|
"embedding": "api/embed"
|
|
},
|
|
"class": "local"
|
|
} |