Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support cancelling queries #31

Closed
wants to merge 1 commit into from

Conversation

Stebalien
Copy link
Contributor

This:

  1. Adds a ellama-cancel function that cancels the LLM query associated
    with the current buffer.
  2. Automatically cancels the query if the associated buffer is killed.

fixes #27
depends on ahyatt/llm#11
builds on #30 (review that first)

@Stebalien Stebalien marked this pull request as draft December 22, 2023 05:05
This was referenced Dec 22, 2023
@Stebalien
Copy link
Contributor Author

Ok, apparently it'll be a bit more complex to add upstream support to the llm package. I'll keep this as a draft until then.

This:

1. Adds a `ellama-cancel` function that cancels the LLM query associated
with the current buffer.
2. Automatically cancels the query if the associated buffer is killed.

fixes s-kostyaev#27
@s-kostyaev
Copy link
Owner

Closing this as already implemented

@s-kostyaev s-kostyaev closed this Jan 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support Cancellation
2 participants