My App
Advance features

Rollback Feature

Undo changes and return to a previous working version of your project.

Rollback Feature

Rollback allows you to return your project to a previous working state.

If something breaks, the agent goes in the wrong direction, or you want to try a different approach, rollback lets you go back to an earlier checkpoint in your conversation.

Think of it like:

  • A save point in a video game
  • The undo button for your entire project
  • A checkpoint you can return to

When Should You Use Rollback?

Rollback is useful in several situations.

Something Broke

Your app was working before, but after recent changes it stopped working.

Solution: Roll back to the last working state.


Wrong Direction

The agent misunderstood your instructions and built something different.

Solution: Roll back and provide clearer instructions.


Stuck in a Loop

The agent keeps attempting the same fixes without success.

Solution: Roll back to the last stable point.


Trying a Different Approach

You realized there is a better way to build a feature.

Solution: Roll back and rebuild the feature using a new approach.


How to Use Rollback

Step 1 — Find the Rollback Button

Desktop
Look for the Rollback button in the chat interface.

Mobile
Tap the clock icon.


Step 2 — Choose a Checkpoint

Scroll through the conversation history and select the message where everything was still working.

Helpful indicators:

  • Messages like "Everything works!"
  • Feature completion confirmations
  • Messages before problems began

Step 3 — Choose Rollback Type

You will see two options.

Option 1: Erase All Messages and Generated Code

This completely resets the project.

What happens:

  • Code returns to that checkpoint
  • Conversation history resets
  • Project state returns to that moment

Best used when:

  • The code is broken
  • You want a clean restart

Option 2: Erase Messages Only

This removes conversation history but keeps the current code.

Best used when:

  • Code works correctly
  • Chat history is cluttered
  • You want to restart the conversation

Step 4 — Confirm

Click Confirm to execute the rollback.

Important: Rollback cannot be undone.


Step 5 — Continue Development

After rollback:

  • Your project returns to the selected state
  • Continue with clearer instructions for the agent

Example Scenario

Broken Checkout Feature

Conversation flow:

On this page