[PR #3718] [MERGED] update delete handler to use model.Name #37138

Closed
opened 2026-04-22 21:51:01 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/3718
Author: @mxyng
Created: 4/18/2024
Status: Merged
Merged: 5/29/2024
Merged by: @mxyng

Base: mainHead: mxyng/modelname-3


📝 Commits (6)

📊 Changes

8 files changed (+587 additions, -122 deletions)

View changed files

📝 server/images.go (+0 -31)
📝 server/layer.go (+23 -0)
📝 server/manifest.go (+87 -9)
server/manifest_test.go (+150 -0)
📝 server/routes.go (+35 -82)
server/routes_create_test.go (+160 -0)
server/routes_delete_test.go (+71 -0)
server/routes_list_test.go (+61 -0)

📄 Description

also update list handler to use the Manifests() iter

follow up to #3715


🔄 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/3718 **Author:** [@mxyng](https://github.com/mxyng) **Created:** 4/18/2024 **Status:** ✅ Merged **Merged:** 5/29/2024 **Merged by:** [@mxyng](https://github.com/mxyng) **Base:** `main` ← **Head:** `mxyng/modelname-3` --- ### 📝 Commits (6) - [`a2fc933`](https://github.com/ollama/ollama/commit/a2fc933fed2e05266aff324deb2d35933563a575) update delete handler to use model.Name - [`c2714fc`](https://github.com/ollama/ollama/commit/c2714fcbfd600c2a13efbc42bab95b49b0b4fa33) routes: use Manifests for ListHandler - [`b8772a3`](https://github.com/ollama/ollama/commit/b8772a353f83839fd299184766827db86454701e) remove DeleteModel - [`a385382`](https://github.com/ollama/ollama/commit/a385382ff5e1dc94ed17e8cd0b29f031e91c33ed) filepath.Join - [`81fb06f`](https://github.com/ollama/ollama/commit/81fb06f5307349244263a199d66eb30926a71d28) more resilient Manifests - [`c5e892c`](https://github.com/ollama/ollama/commit/c5e892cb3ef21b4ba315389210205b65e46b62aa) update tests ### 📊 Changes **8 files changed** (+587 additions, -122 deletions) <details> <summary>View changed files</summary> 📝 `server/images.go` (+0 -31) 📝 `server/layer.go` (+23 -0) 📝 `server/manifest.go` (+87 -9) ➕ `server/manifest_test.go` (+150 -0) 📝 `server/routes.go` (+35 -82) ➕ `server/routes_create_test.go` (+160 -0) ➕ `server/routes_delete_test.go` (+71 -0) ➕ `server/routes_list_test.go` (+61 -0) </details> ### 📄 Description also update list handler to use the `Manifests()` iter follow up to #3715 --- <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-22 21:51:01 -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#37138