🎉 History Extension: Summary Generation and 🧠 Long-term Memory with VectorCode #1783
ravitemer
started this conversation in
Show and tell
Replies: 1 comment 1 reply
-
Great, this is an alternative iteration or inheritance implementation. I tried to implement a pr before, but it was not accepted, which is very useful, thanks for your work |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi guys!
I'm excited to share an update to the codecompanion-history.nvim extension - we now have summary generation and long-term memory! Thanks to @Davidyz for pitching this at ravitemer/codecompanion-history.nvim#16
🚀 How It Works
Basic Chat Management
Just like before, your CodeCompanion chats are automatically saved (or manually with
sc
). Browse your saved chats withgh
and select any chat to restore it completely with all context, tools, and references intact.Summary Generation Workflow
When your conversation gets too long and approaches context limits:
gcs
(create summary) - make sure to configure your preferred adapter/model to avoid premium modelsUsing Summaries
When you want to reference previous conversations:
gbs
(browse summaries) to see all your saved summaries> - <summary>chat_title</summary>
in your chatMemory Tool Integration
Special thanks to @Davidyz for the fantastic VectorCode CLI integration and implementing the
@memory
tool that brings true semantic search to our conversationsIf you have VectorCode cli available in the PATH:
@memory
tool in new chats - your LLM can now search through previous conversations⚙️ Configuration
Check out codecompanion-history.nvim for full documentation
Warning
Title and summary generation defaults to current chat's adapter and model. Make sure to set cheaper models in
title_generation_opts
andsummary.generation_opts
to avoid using premium models.🔮 Future Roadmap
While this implementation provides manual summary generation and sort of long term memory, future enhancements could include:
Beta Was this translation helpful? Give feedback.
All reactions