Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion guides/ai-agents/ai-writeback.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,13 @@ Clean up our metrics.
Make the orders model better.
```

When the pull request is ready, the agent posts the URL in the thread. Open it, review the diff, and merge as you would any other pull request. After merging, refresh dbt in Lightdash (or let your CI/CD do it) so the change takes effect.
When the pull request is ready, the agent posts a **View pull request** button in the thread. Open it, review the diff, and merge as you would any other pull request. After merging, refresh dbt in Lightdash (or let your CI/CD do it) so the change takes effect.

### Preview the change before merging

If your dbt repository's CI runs `lightdash preview` on pull requests, a **View preview** button appears next to **View pull request** as soon as the preview project is published. Use it to jump straight into a Lightdash preview of the proposed change and confirm it looks right before merging.

The button only shows once the preview is ready — if your repository doesn't publish a preview, or it hasn't finished yet, you'll just see **View pull request**.

## What happens if it can't run

Expand Down
Loading