[PR #7873] [CLOSED] Verification before deleting models #74837

Closed
opened 2026-05-05 07:08:37 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/7873
Author: @liel-almog
Created: 11/28/2024
Status: Closed

Base: mainHead: feat/verifying-before-rm-model


📝 Commits (2)

  • 74c9ad8 Feat: Add a bool flag to force delete models without verification. If a flag was not passed the CLI asks the user to verify (on a for loop) and only then it deletes the model/s
  • ffb2db1 Merge branch 'main' of github.com:ollama/ollama into feat/verifying-before-rm-model

📊 Changes

1 file changed (+22 additions, -0 deletions)

View changed files

📝 cmd/cmd.go (+22 -0)

📄 Description

Added verification before deleting model/s.
Add a flag --force / -f to delete without verification.
The verification process is the same as dnf


🔄 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/7873 **Author:** [@liel-almog](https://github.com/liel-almog) **Created:** 11/28/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/verifying-before-rm-model` --- ### 📝 Commits (2) - [`74c9ad8`](https://github.com/ollama/ollama/commit/74c9ad8afc261b41e4e6bcd54481f6efb6f58bc3) Feat: Add a bool flag to force delete models without verification. If a flag was not passed the CLI asks the user to verify (on a for loop) and only then it deletes the model/s - [`ffb2db1`](https://github.com/ollama/ollama/commit/ffb2db1b853fce847f0570948b2abea15283f42f) Merge branch 'main' of github.com:ollama/ollama into feat/verifying-before-rm-model ### 📊 Changes **1 file changed** (+22 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `cmd/cmd.go` (+22 -0) </details> ### 📄 Description Added verification before deleting model/s. Add a flag `--force` / `-f` to delete without verification. The verification process is the same as `dnf` --- <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-05-05 07:08:37 -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#74837