New in v11.11.0 - ✨buffers can now be watched #654
Replies: 6 comments 2 replies
-
@olimorris @bassamsdata kudos! This is huge! Very impressive work. Congratulations! This should also significantly improve updating the buffer using the editor tools. codecompanion is by far my favorite AI experience and I've tested the vast majority of them including paid ones. Once again kudos to the developers and this community. |
Beta Was this translation helpful? Give feedback.
-
Thanks a bunch, @olimorris, for all the kind words and helpful advice while I was working on the PR. If anyone has any issues with it, feel free to tag me and let me know. |
Beta Was this translation helpful? Give feedback.
-
Nice work |
Beta Was this translation helpful? Give feedback.
-
This is amazing! Nice work! A couple questions:
Thanks! |
Beta Was this translation helpful? Give feedback.
-
Thank you for the nice words.
When the watcher starts, it sets up a state for each watched buffer, including its initial content and changedtick. The diff calculation is triggered only at the time of submission to the LLM. At that point, it compares the buffer’s current content against the last sent content.
The only
Thank you |
Beta Was this translation helpful? Give feedback.
-
After finally getting some time to test it, just wanted to say the |
Beta Was this translation helpful? Give feedback.
-
All, please give a huge round of applause to @bassamsdata for #610, which adds the ability for buffers to be watched in the chat buffer itself.
Previously, when buffers were pinned to the chat buffer, ALL of their content was sent to the LLM along with a user's message. The impact of this was it consumed a significant amount of tokens, on every turn!
Thanks to @bassamsdata's PR, you can now choose to watch a buffer (with
gw
) and it will send only the added, edited or deleted lines to the LLM. What makes the PR so great is the sheer amount of testing which was done to make sure the feature works well with so many models.Beta Was this translation helpful? Give feedback.
All reactions