[GH-ISSUE #4250] Get list models is broken #64688

Closed
opened 2026-05-03 18:30:35 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @sr-tream on GitHub (May 8, 2024).
Original GitHub issue: https://github.com/ollama/ollama/issues/4250

What is the issue?

The ollama list command and /api/tags request do not return models list.

Firstly - ollama try to find models is lowercase:

Error: open /var/lib/ollama/.ollama/models/manifests/registry.ollama.ai/library/dolphin-mistral/7b-v2.6-dpo-laser-q6_k: no such file or directory

Real model path is /var/lib/ollama/.ollama/models/manifests/registry.ollama.ai/library/dolphin-mistral/7b-v2.6-dpo-laser-q6_K - here q6_K instead of q6_k.

After resolving this (I added symlinks in paths), ollama returns error Error: unqualified name: for ollama list and {"error":"unqualified name: "} for /api/tags

Affected version on commit 88cf1544

OS

Linux

GPU

Nvidia

CPU

AMD

Ollama version

0.1.34

Originally created by @sr-tream on GitHub (May 8, 2024). Original GitHub issue: https://github.com/ollama/ollama/issues/4250 ### What is the issue? The `ollama list` command and `/api/tags` request do not return models list. Firstly - ollama try to find models is lowercase: ``` Error: open /var/lib/ollama/.ollama/models/manifests/registry.ollama.ai/library/dolphin-mistral/7b-v2.6-dpo-laser-q6_k: no such file or directory ``` Real model path is `/var/lib/ollama/.ollama/models/manifests/registry.ollama.ai/library/dolphin-mistral/7b-v2.6-dpo-laser-q6_K` - here **q6_K** instead of **q6_k**. After resolving this (I added symlinks in paths), ollama returns error `Error: unqualified name:` for `ollama list` and `{"error":"unqualified name: "}` for `/api/tags` Affected version on commit [88cf1544](https://github.com/ollama/ollama/commit/88cf154483cf443e90bf429738f7f37c6b87a36a) ### OS Linux ### GPU Nvidia ### CPU AMD ### Ollama version 0.1.34
GiteaMirror added the bug label 2026-05-03 18:30:35 -05:00
Author
Owner

@sr-tream commented on GitHub (May 9, 2024):

@mxyng this issue not fully fixed with #4261. The local created name of the model can also be case-sensitive. E.g. ollama create MyModel:tag

<!-- gh-comment-id:2102096537 --> @sr-tream commented on GitHub (May 9, 2024): @mxyng this issue not fully fixed with #4261. The local created name of the model can also be case-sensitive. E.g. `ollama create MyModel:tag`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#64688