s-kostyaev / ellama

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

Should ellama-mode derive from comint-mode #32

Closed tvraman closed 7 months ago

tvraman commented 7 months ago

Would give us prompt navigation etc in a long session for free

s-kostyaev commented 7 months ago

I should think about it. Thank you.

tvraman commented 7 months ago

markdown does bring its benefits too -- so comint as the major mode might not be such a good idea. Would still be nice to figure out a good way of getting the best of both though

mcraveiro commented 3 months ago

Thanks very much for a great mode. One minor quibble, I would love a chat based window which is comint mode derived rather than having to call ellama-chat for every message - or is there a better way of doing this? In particular, can I just type inside the org-mode file and get it to update?

Cheers

mcraveiro commented 3 months ago

I had a quick look at this post [1], and indeed it seems the main way to interact with the model is by repeated calls to ellama-chat. I'll try this approach...

[1] https://www.reddit.com/r/emacs/comments/19c6byu/ellama_added_session_management_and_moved_to_org/