Use recent chat history from prior sessions when you launch a new session
Clearing the chat when reaching maximum tokens is absolutely necessary and can be opt-in based. I would love to pick this up and raise a PR
Paul has merged in a 'auto summarize chat when token limit hit' feature in #144
I like the idea of being able to restore your last context with a command, and it should be feasible by reading the history files - it also makes me think about things like /stash xyz which lets you store a context and /restore xyz which brings it back.
I think the long term vision is to make Aider is smart enough to know what files (or fractions of a file) to bring in to context based on the task being given so one day we don't have to think about it anywhere near as much. In that world I could imagine /stash and /restore commands being feature bloat or temporary band aid solutions. Or maybe they would be good editions.
Yes, everything @joshuavial said is 100% correct!
In fact, in the main branch you can already run python -m aider.history .aider.chat.history.md and it will print out a summarized version of the recent conversation. Keep in mind that this command line invocation is purely for debugging purposes at this time!
It's likely that in the future aider will do this on startup.
Hey,
that would be the great feature. Any plans on continuing working on it?
I just put up PR #591 for this.
I'm going to close this issue for now, but feel free to add a comment here and I will re-open or file a new issue any time.