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 Cancellation #27

Closed
Stebalien opened this issue Dec 22, 2023 · 2 comments
Closed

Support Cancellation #27

Stebalien opened this issue Dec 22, 2023 · 2 comments

Comments

@Stebalien
Copy link
Contributor

Once ahyatt/llm#11 is merged and released, it'll be possible to cancel llm queries. Ideally:

  1. It would be possible to cancel an ongoing query with some interactive function.
  2. An ongoing query would automatically be canceled if the buffer from which it was made is closed.
Stebalien added a commit to Stebalien/ellama that referenced this issue Dec 22, 2023
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
Stebalien added a commit to Stebalien/ellama that referenced this issue Dec 22, 2023
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
@tomoya
Copy link

tomoya commented Dec 23, 2023

Hi, @Stebalien

It looks like cancellation is now supported in llm.
ahyatt/llm@f9060bd

P.S.
The ellma is my best elisp in 2023 👍

@s-kostyaev
Copy link
Owner

@tomoya Thank you for the kind words

Stebalien added a commit to Stebalien/ellama that referenced this issue Dec 24, 2023
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
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 a pull request may close this issue.

3 participants