Stop a Currently Running Model #254

Open
opened 2026-02-15 16:29:14 -05:00 by yindo · 1 comment
Owner

Originally created by @wesley-sappington on GitHub (Apr 2, 2025).

Hi all!

Quick question/feature request:

Can I stop running a model while it's running? (aka cancel a request) Sometimes my model takes so long to process, and new information comes in that warrants me canceling and re-prompting.

Importantly, I don't want this stopping function to unload the model from memory.

Thanks!

Originally created by @wesley-sappington on GitHub (Apr 2, 2025). Hi all! Quick question/feature request: Can I stop running a model while it's running? (aka cancel a request) Sometimes my model takes so long to process, and new information comes in that warrants me canceling and re-prompting. Importantly, I don't want this stopping function to unload the model from memory. Thanks!
Author
Owner

@sussynk commented on GitHub (Jul 3, 2025):

Not sure if I understand you correctly, but you can interrupt the model with the control + c keyboard shortcut, and control + d to exit the model if needed.

@sussynk commented on GitHub (Jul 3, 2025): Not sure if I understand you correctly, but you can interrupt the model with the control + c keyboard shortcut, and control + d to exit the model if needed.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: ollama/ollama-python#254