eca icon indicating copy to clipboard operation
eca copied to clipboard

Rollback should have three options

Open zikajk opened this issue 1 year ago • 3 comments

Rollback should have three options: a) Rollback chat to before this message b) Rollback tool changes to before this message c) Rollback both to before this message

Motivation for those options: a) You need to free some context, but you wanna keep the changes the agent has done. b) I don't know. I guess the model will be confused. But CC has it, so there might be some use case I don't see. c) This is the current behavior, good with auto-approve when things go wrong.

To upvote this issue, give it a thumbs up. See this list for the most upvoted issues.

zikajk avatar Nov 28 '25 11:11 zikajk

One question: When I change a file manually sometime after the session ended, and then I use the rollback tool on the resumed session, it will throw away my changes, right?

TLDR. Does file snapshots exist in the saved session?

zikajk avatar Nov 28 '25 11:11 zikajk

yes, we saved the snapshot of the content of the file edited by the tool, so any manual changes would be lost. We are not saving in cache the rollbacks, but it's something I will fix it soon

ericdallo avatar Nov 28 '25 12:11 ericdallo

Done!

ericdallo avatar Dec 01 '25 21:12 ericdallo