Skip to content

Commit 1036581

Browse files
authored
Merge pull request #43 from FlutterFlow/feature/restore-checkpoint
Add Restore Checkpoint section
2 parents 02f843d + ce224e1 commit 1036581

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

docs/workspace/agent-panel.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,6 +327,37 @@ You can view or edit your rule file anytime from the Dreamflow File Editor. Once
327327
- Avoid overly long explanations — keep it concise and readable.
328328
- Update the file when your architecture or policies change.
329329

330+
## Restore Checkpoint
331+
332+
**Restore Checkpoint** lets you roll your project back to the exact state it was in *before* a specific agent prompt was executed.
333+
334+
This rollback includes:
335+
336+
- All changes introduced by the Dreamflow agent
337+
- Any manual edits you made after that point
338+
339+
:::warning[Project-Wide Revert]
340+
341+
- Restore Checkpoint **rewinds the entire project**, not just the thread where you clicked the button.
342+
- Because it’s destructive, use it carefully—especially if you frequently switch between threads or mix agent edits with manual edits.
343+
344+
:::
345+
346+
To restore the project to a specific checkpoint:
347+
348+
1. Open the agent thread.
349+
2. Use the thread navigation arrows to move to the exact message where you want to restore from.
350+
3. Click the **Undo** icon in the top-right corner of your message.
351+
4. A confirmation dialog will appear. Approve it to restore the checkpoint.
352+
353+
![restore-checkpoint.avif](imgs/restore-checkpoint.avif)
354+
355+
:::info
356+
The Restore Checkpoint button appears only when:
357+
358+
- The agent is **not** currently generating
359+
- The project was successfully saved before that generation began
360+
:::
330361

331362
## OpenAI Integration
332363
Dreamflow Agent lets you add AI-powered features to your app without needing your own OpenAI API key. When you use the Agent to generate an AI feature, Dreamflow automatically connects to OpenAI through a secure proxy using Dreamflow’s internal API key.
69.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)