Build and make changes
Errors it fixes for you
The builder checks its own work. When your app runs into an error, it notices, finds the cause and fixes it, usually before you see anything wrong.
How it works
You do not need to turn anything on. The builder looks after this in two ways.
- After each build. Before the builder tells you it is done, it opens your app in the preview and checks that it runs. If something is broken, it fixes it and checks again.
- While you try the app. If an error happens as you click around in the preview, the builder is told about it and starts a fix by itself. You will see a new reply appear in the chat while it works. If the error comes right after you changed the code yourself, the builder waits and shows an Ask AI to fix button in the code view.
When it stops trying
The builder makes up to three automatic fix attempts in a row. If the error is still there after that, it stops and shows a message asking you to describe what you see.
It stops so that a stubborn problem does not keep using your credits without you knowing.
If something is still wrong
Say what you did and what happened
Plain words are enough. For example, "When I press Save on the booking form, nothing happens and the form stays open."
Say what you expected
For example, "It should close the form and show the booking in the list." This tells the builder what the fix should achieve.
Add a screenshot if it helps
You can attach a picture of what you see. For a problem with one part of the page, click to edit lets you point at it.
Good to know
- The builder catches errors that stop your app from working. It cannot know that you would like a different color or wording, so tell it about anything that works but is not what you wanted.
- An automatic fix is a build like any other, so it uses credits.
- If a fix made things worse, you can go back to an earlier point with version history.