CopilotC-Nvim / CopilotC-Nvim/CopilotChat.nvim
Chat history persistence feature request
Nobody has claimed this yet.
- Dominant language
- Lua
- Stars
- 3.7k
- Forks
- 171
- Avg merge
- 16h 26m
- Merged PRs (30d)
- 1
Description
It would be nice to automatically store chat history into a file.
Two things cause frustration for me:
- Sometimes I close nvim without saving the chat and lose my history.
- Sometimes I accidentally clear the chat history.
For me, if persistence is enabled, it would be convenient to automatically dump the chat history into a file on chat reset.
P.S. I figured out that I can cancel accidental chat reset with undo, but anyway it would be great to dump chat history on intentional reset to be able recover it.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names no files or tests. Start by locating the existing persistence configuration and the chat reset handling, then trace how chat history is stored and cleared. Done means that, when persistence is enabled, resetting the chat preserves the prior history in a recoverable file without changing behavior when persistence is disabled.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua, neovim
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100