mirror of
https://github.com/ollama/ollama-python.git
synced 2026-07-21 09:05:23 -04:00
Abort Requests #150
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zodakzach on GitHub (Sep 30, 2024).
Is there anyway you can abort a request to the ollama server using the python library? I know this is possible with the js library by adding an abort controller, but not sure how to handle this using the python library