[PR #5122] [MERGED] types/model: remove Digest #42936

Closed
opened 2026-04-24 22:38:45 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/5122
Author: @bmizerany
Created: 6/18/2024
Status: Merged
Merged: 6/19/2024
Merged by: @bmizerany

Base: mainHead: bmizerany/rmdigest


📝 Commits (1)

  • eb8022f types/model: remove Digest

📊 Changes

2 files changed (+0 additions, -89 deletions)

View changed files

📝 types/model/name.go (+0 -55)
📝 types/model/name_test.go (+0 -34)

📄 Description

The Digest type in its current form is awkward to work with and presents challenges with regard to how it serializes via String using the '-' prefix.

We currently only use this in ollama.com, so we'll move our specific needs around digest parsing and validation there.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/ollama/ollama/pull/5122 **Author:** [@bmizerany](https://github.com/bmizerany) **Created:** 6/18/2024 **Status:** ✅ Merged **Merged:** 6/19/2024 **Merged by:** [@bmizerany](https://github.com/bmizerany) **Base:** `main` ← **Head:** `bmizerany/rmdigest` --- ### 📝 Commits (1) - [`eb8022f`](https://github.com/ollama/ollama/commit/eb8022fbe604120df227d0232525b9b0eb56b468) types/model: remove Digest ### 📊 Changes **2 files changed** (+0 additions, -89 deletions) <details> <summary>View changed files</summary> 📝 `types/model/name.go` (+0 -55) 📝 `types/model/name_test.go` (+0 -34) </details> ### 📄 Description The Digest type in its current form is awkward to work with and presents challenges with regard to how it serializes via String using the '-' prefix. We currently only use this in ollama.com, so we'll move our specific needs around digest parsing and validation there. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-24 22:38:45 -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#42936