[PR #11056] Fix The download flag #13424

Closed
opened 2026-04-13 00:26:56 -05:00 by GiteaMirror · 0 comments
Owner

Original Pull Request: https://github.com/ollama/ollama/pull/11056

State: closed
Merged: No


The logic now ensures that a model is only flagged or reported as "downloaded" after all blobs are fully downloaded and verified, not just after pulling the manifest. This prevents fake download counts from manifest-only requests.

A placeholder function reportModelDownload(name string) is called at the end of a successful PullModel. You can implement your actual reporting/statistics logic there.

**Original Pull Request:** https://github.com/ollama/ollama/pull/11056 **State:** closed **Merged:** No --- The logic now ensures that a model is only flagged or reported as "downloaded" after all blobs are fully downloaded and verified, not just after pulling the manifest. This prevents fake download counts from manifest-only requests. A placeholder function reportModelDownload(name string) is called at the end of a successful PullModel. You can implement your actual reporting/statistics logic there.
GiteaMirror added the pull-request label 2026-04-13 00:26:57 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#13424