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

Fix code trimming #34

Closed Stebalien closed 7 months ago

Stebalien commented 7 months ago

Unfortunately, we need to trim the left side before the right. The default string-trim behavior is to trim the right before the left, which deletes the code.

(sorry about that)