[PR #5328] [CLOSED] Add a stop model command to CLI. #17018

Closed
opened 2026-04-16 05:50:44 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/ollama/ollama/pull/5328
Author: @asdf93074
Created: 6/27/2024
Status: Closed

Base: mainHead: add-stop-cli-command


📝 Commits (1)

  • 660b479 Add ollama stop [model] to CLI.

📊 Changes

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

View changed files

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

📄 Description

Adds a stop command to the CLI which takes just the model name and makes a generate request to stop it by setting keep_alive to 0 as suggested in the FAQ.


🔄 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/5328 **Author:** [@asdf93074](https://github.com/asdf93074) **Created:** 6/27/2024 **Status:** ❌ Closed **Base:** `main` ← **Head:** `add-stop-cli-command` --- ### 📝 Commits (1) - [`660b479`](https://github.com/ollama/ollama/commit/660b4796f9075badbe5ddf3879d9a1800309c293) Add ollama stop [model] to CLI. ### 📊 Changes **1 file changed** (+55 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `cmd/cmd.go` (+55 -0) </details> ### 📄 Description Adds a stop command to the CLI which takes just the model name and makes a generate request to stop it by setting keep_alive to 0 as suggested in the FAQ. --- <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-16 05:50:44 -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#17018