Continue without reverting

Hey everyone,

I’ve been using the Agent Chat and noticed that whenever I make changes higher up in the chat history, it automatically reverts back to that state without asking me anymore. Previously, I used to get a prompt asking whether I want to restore the checkpoint or continue without reverting, but at some point, I must have checked “Don’t Ask Again.”

Now, I can’t seem to find any setting to bring back this confirmation prompt. Is there a way to disable automatic reverting or to re-enable the option so that I’m asked every time again?

4 Likes

I’m also having this issue!

1 Like

Hitting the same issue as well. Have scoured the settings and don’t see any way to reset/change this if you clicked “Don’t Ask Again”. How can we update this after the first selection?

I also experienced the same issue, and it was impossible to change it in the settings. The only solution was to completely remove the cursor and then reset it.

There is no UI or setting.json option to revert this. You will need to edit the SQLite state database directly.

I go into a bit more detail (and provide screenshots) here: 0.48.2 option for "revert changes" popup missing - #3 by dimitri-vs

  1. Locate the file: For me it was the state.vscdb file in C:\Users\<NAME>\AppData\Roaming\Cursor\User\globalStorage folder
  2. :warning: Backup: Strongly recommend backing up the SQLite file before making any changes.
  3. Close Cursor completely.
  4. Open/connect to the file in an SQLite editor, I used DBeaver
  5. Navigate to the ItemTable table and search for dialogDontAskAgainPreferences or submit-from-previous-message, mine was under the the src.vs.platform.reactivestorage.browser.reactiveStorageServiceImpl.persistentStorage.applicationUser key
  6. Carefully modify the JSON value for just that key, changing {"submit-from-previous-message-2":true} to {"submit-from-previous-message-2":false}
  7. Save the changes to the SQLite file.
  8. Restart Cursor and test the scenario.
1 Like

Thank you, thats a great workaround!

For anyone wondering - The path for the DB on macOS is:
/Users/username/Library/Application Support/Cursor/User/globalStorage

And, if you are using the sqlite command line, the command (for me) was:

UPDATE ItemTable
SET value = REPLACE(
    value,
    '{"submit-from-previous-message-2":true}',
    '{"submit-from-previous-message-2":false}'
)
WHERE key = 'src.vs.platform.reactivestorage.browser.reactiveStorageServiceImpl.persistentStorage.applicationUser';
1 Like

Is this still not possible to toggle on/off anywhere? This is a completely HORRIBLE feature. Top 5 bad features I’ve ever come across in any product probably. I never want cursor to revert, and now I don’t have a choice if I want to go back in the chat history?

Actually now its accessible via the settings menu. Look for “Dialog ‘Don’t ask again’ preferences” turn it on and then for the setting “Submit-from-previous-message-2”

It’s a step in the right direction, but this is probably my biggest gripe with Cursor today.

The consequences are terrible because reverts cannot be undone. And the non-obvious implications around “Don’t ask again” means that every single one of us looking at this message has had to learn this lesson the hard way.

Re-enabling the dialog is a small bandaid, but the Cursor team should make the following changes to solve this issue for good.

  1. Replace “Don’t Ask Again” with “Remember My Choice” so that users who never want to revert changes can skip future pop ups.

  2. Revert should be the exception, not the norm. Cursor’s product team is making a significant, incorrect, and likely unintentional assumption that chat history and generated code have the same ephemerality. But this is false. They should not be linked. Users should be allowed to rewind their chat independently from rewinding code. Users can “undo” to rewind their code. They have no other option but this pop up to rewind their chat!

2 Likes

Cannot agree more. It may ruin everything.

Done.. Thank you all for sharing the way to fix it.