> ## Documentation Index
> Fetch the complete documentation index at: https://www.adaline.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Compare your deployments

> Review diffs between deployment versions and sync environments with confidence

Before promoting a prompt to production or rolling back to a previous version, you can compare deployments to see exactly what changed.

### 1. Select a source deployment from the history

The left panel shows the full deployment history for all environments.
Each entry represents a deployment aka a prompt version that has been deployed.
Click your source deployment to load it into the center panel for comparison with the target deployment.

### 2. Activate the Diff Mode

**Step 1**

Switch to the JSON / YAML view to the raw deployment object by clicking the dropdown on the top right.

![Switching to the JSON / YAML view](https://mintcdn.com/adaline/6qZ1-Sm8NeEttI_w/images/deploy/open-json-view.png?fit=max\&auto=format\&n=6qZ1-Sm8NeEttI_w\&q=85\&s=947771c5ab12a6157f06029fb5c7b0d4)

**Step 2**

Turn on the Diff Mode by click on the ellipsis (three dots) on the top right and select **Diff Mode**.

![Turning on the diff mode](https://mintcdn.com/adaline/6qZ1-Sm8NeEttI_w/images/deploy/turn-on-diff-mode.png?fit=max\&auto=format\&n=6qZ1-Sm8NeEttI_w\&q=85\&s=ee82ce27de2e9761212ae84e92a49ddf)

**Step 3**

Select the target deployment from the history dropdown.

> [!NOTE]
>
> You can choose any deployment across all environments and the current editor.

![Selecting the target deployment](https://mintcdn.com/adaline/6qZ1-Sm8NeEttI_w/images/deploy/select-target-deployment.png?fit=max\&auto=format\&n=6qZ1-Sm8NeEttI_w\&q=85\&s=6737fc0aca39c0d534eb427e9c49dd6c)

### 3. Review the differences

The center panel highlights every difference between the selected version and what is currently deployed to the target environment.
Blue and red-highlighted content shows what will change if you confirm the deployment. The diff covers:

| Component | What's compared |
| - | - |
| **config** | Model selection and parameter changes (temperature, max tokens, response format, etc.). |
| **messages** | Changes to system, user, assistant, and tool message content. |
| **role** | Changes to message roles. |
| **modality** | Changes to content types (text, image, PDF). |
| **tools** | Added, removed, or modified tool definitions and schemas. |

## Next steps

> [card] [Deploy Your Prompt](https://www.adaline.ai/docs/deploy/deploy-your-prompt.md)
>
> Ship the compared version to your target environment.

> [card] [Rollback Your Prompt](https://www.adaline.ai/docs/deploy/rollback-your-prompt.md)
>
> Revert if the promoted version causes issues.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.