[GH-ISSUE #8997] Please add stop $model to API #52355

Closed
opened 2026-04-28 23:05:33 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @ExposedCat on GitHub (Feb 10, 2025).
Original GitHub issue: https://github.com/ollama/ollama/issues/8997

There is an ollama stop $model but it's not accessible via API which would be nice to have

Originally created by @ExposedCat on GitHub (Feb 10, 2025). Original GitHub issue: https://github.com/ollama/ollama/issues/8997 There is an `ollama stop $model` but it's not accessible via API which would be nice to have
GiteaMirror added the feature request label 2026-04-28 23:05:33 -05:00
Author
Owner

@rick-github commented on GitHub (Feb 10, 2025):

curl localhost:11434/api/generate -d '{"model":"xxx","keep_alive":0}'
<!-- gh-comment-id:2649405922 --> @rick-github commented on GitHub (Feb 10, 2025): ```console curl localhost:11434/api/generate -d '{"model":"xxx","keep_alive":0}' ```
Author
Owner

@ExposedCat commented on GitHub (Feb 10, 2025):

@rick-github thank you

<!-- gh-comment-id:2649407187 --> @ExposedCat commented on GitHub (Feb 10, 2025): @rick-github thank you
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#52355