docs/ai_builder/features/editor_modes.md
import reflex as rx
Use Review mode to point out visual changes in the running app. Use Code to inspect or edit the generated source. After either workflow, return to Preview and test the affected behavior.
rx.image(
src="https://web.reflex-assets.dev/docs-preview/ai-builder/platform/review_mode.webp",
alt="An annotation and comment ready to send from Review mode",
class_name="rounded-md h-auto mb-4",
border=f"0.81px solid {rx.color('slate', 5)}",
)
Review mode turns comments drawn on the preview into a prompt for the agent:
Each comment should say what is wrong and what the result should be. Use a normal chat prompt instead when the feedback is not tied to a specific part of the interface.
You need edit access to send a review. If another session is generating or holds the app's edit lock, wait until it finishes.
Open Code to browse and search the app's files, inspect generated diffs, or make a precise manual edit. The workspace also provides Git controls and Terminal and Debug panels.
Your plan and app access determine whether the editor is writable. See Code Workspace for editing, file operations, diffs, and file locking.