It would be great to create a snapshot point in a chat window, so we can always revert back to that point just in case.
For example, I have a long chat. Close to the end of the chat, the model started getting confused, so I told it to stop, as we would start again. I would love to roll back to a particular point in time and start from there again.
Chat Continues
Code Implemented
Told it to stop and revert to Snapshot #2 ← Anything after Snapshot 2 until this point is reversed and removed from the context.
Continue with chat
This will help in getting back to a particular state and remove it from the context (or removing it from the context can be an option when asking to revert to a particular point)
I believe this has been already integrated and is available in Cursor as Checkpoints. You can insert then prompts at many points inside a response where you think AI went wrong.
The issue I see with that is that it’s automatic and Cursor decides when to create it. What I would love to do is create a checkpoint manually and if I want to revert to a particular checkpoint, I can pass it a command like:
Revert to checkpoint #123 and clear all the history up until then.
Or
Revert to checkpoint #123 (this would only revert the code, not the chat history)