[GH-ISSUE #10272] Hide latest in the API #6746

Open
opened 2026-04-12 18:30:30 -05:00 by GiteaMirror · 4 comments
Owner

Originally created by @jmorganca on GitHub (Apr 14, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/10272

Today when downloading a model such llama3.1, the model will then show as llama3.1:latest in the API. Instead, it should just show llama3.1. llama3.1:latest should continue to be recognized by the API (as the equivalent of llama3.1, but it shouldn't be explicitly shown as it is the default "tag"

Originally created by @jmorganca on GitHub (Apr 14, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/10272 Today when downloading a model such `llama3.1`, the model will then show as `llama3.1:latest` in the API. Instead, it should just show `llama3.1`. `llama3.1:latest` should continue to be recognized by the API (as the equivalent of `llama3.1`, but it shouldn't be explicitly shown as it is the default "tag"
GiteaMirror added the api label 2026-04-12 18:30:30 -05:00
Author
Owner

@Shiva-Prasad-Reddy-K commented on GitHub (Sep 12, 2025):

Hello,
I've submitted a pull request that I believe addresses this
issue. You can find it here: #12273

I've implemented the changes to hide the :latest tag from
the model display and updated the tests accordingly. I'm
looking forward to your feedback.

Thanks!

<!-- gh-comment-id:3286775819 --> @Shiva-Prasad-Reddy-K commented on GitHub (Sep 12, 2025): Hello, I've submitted a pull request that I believe addresses this issue. You can find it here: #12273 I've implemented the changes to hide the `:latest` tag from the model display and updated the tests accordingly. I'm looking forward to your feedback. Thanks!
Author
Owner

@loeclos commented on GitHub (Jan 20, 2026):

Has this been solved? If not, I will be willing to work on this

<!-- gh-comment-id:3770783590 --> @loeclos commented on GitHub (Jan 20, 2026): Has this been solved? If not, I will be willing to work on this
Author
Owner

@Shiva-Prasad-Reddy-K commented on GitHub (Jan 30, 2026):

Yes, the issues has been solved. The CLI is performing as intended.

<!-- gh-comment-id:3822011896 --> @Shiva-Prasad-Reddy-K commented on GitHub (Jan 30, 2026): Yes, the issues has been solved. The CLI is performing as intended.
Author
Owner

@mroxso commented on GitHub (Feb 20, 2026):

i got some problems using ollama with different other software because of the tags.
an option to enable/disable the :latest tag would be nice

<!-- gh-comment-id:3932243376 --> @mroxso commented on GitHub (Feb 20, 2026): i got some problems using ollama with different other software because of the tags. an option to enable/disable the :latest tag would be nice
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#6746