AI AgentBreaking Existing Functionality
The AI broke something that was working fine. What do I do?
Here's what to do when the AI breaks something that was working:
- Revert: Use the revert button to roll back to the version just before the issue occurred. All changes after that point stay in chat and can be reapplied.
- Re-prompt: After reverting, try a clearer, more specific prompt to guide the AI differently.
- Use Plan mode: Ask Lovable to outline steps before making changes — e.g., "Can you outline the steps for this feature?"
- If stuck: Prompt: "Take a step back. Analyze the error and suggest a different approach."
More details on these pages: