Can we Fork Chats pls

I would like to be able to fork a chat, here’s why with an example.

you’re working on some code changes or a new feature.

You need to be able to restore checkpoints but i don’t want to lose my prompts i have already written and that have generated either code and a text response or both, I don’t want to lose the work already done by Cursor but want to try a different prompt from a checkpoint. I want to be able to fork either the text response, and the code or just the text either in the same chat so i retain existing context or into a whole new chat.

Please consider this as for iterative dev tasks and patch tests with A/B testing this would be a game changer. If it could be perhaps a submenu with the Restore Checkpoint where you can already contine or revert your changes.

Fork → Response only → Current Chat or New Chat
Fork → Response and Code > Current Chat or New Chat

So the Responses and Code below the chat’s checkpoint are ALL retained, but we branch off into (in the same chat) a new branch of the existing chat retaining the context upto the ‘forked’ checkpoint in the chat.

4 Likes

Have you tried background tasks?

Hi fitz, no i haven’t, but that’s not what I am after. I want a simple fork rather than background. This is foreground iterative work, - rinse and repeat request.

2 Likes

That’s a great idea. Seems like a dupe of Fork a chat from a given message ?

Hey Ollie, welcome to the Cursor Forum.

Would this not be similar to the current duplicate chat feature?

2 Likes

Oh I didn’t know duplicate chat existed or where it was but I found it.


It looks like what I was looking for, then maybe the feature I linked should also be closed with “Implemented” status?

1 Like

Happy to oblige :slight_smile:

Though Ollie’s suggestion sounds a bit more advanced. Would be sure interesting to check out the difference and pottential enhancements.

1 Like

Hey, yes, the branch chat is something that has already been requested on the forum.

1 Like