s-kostyaev / ellama

Ellama is a tool for interacting with large language models from Emacs.
GNU General Public License v3.0
492 stars 30 forks source link

Support cancelling queries #31

Closed Stebalien closed 9 months ago

Stebalien commented 9 months ago

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 https://github.com/ahyatt/llm/pull/11 builds on #30 (review that first)

Stebalien commented 9 months ago

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.

s-kostyaev commented 9 months ago

Closing this as already implemented