> ## 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

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

    <img src="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" alt="Switching to the JSON / YAML view" title="Switching to the JSON / YAML view" style={{ width: "100%" }} width="1507" height="778" data-path="images/deploy/open-json-view.png" />
  </Step>

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

    <img src="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" alt="Turning on the diff mode" title="Turning on the diff mode" style={{ width: "100%" }} width="1506" height="896" data-path="images/deploy/turn-on-diff-mode.png" />
  </Step>

  <Step>
    Select the target deployment from the history dropdown.

    <Note>
      You can choose any deployment across all environments and the current editor.
    </Note>

    <img src="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" alt="Selecting the target deployment" title="Selecting the target deployment" style={{ width: "100%" }} width="1507" height="885" data-path="images/deploy/select-target-deployment.png" />
  </Step>
</Steps>

### 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

<CardGroup cols={2}>
  <Card title="Deploy Your Prompt" icon="rocket" href="/docs/deploy/deploy-your-prompt">
    Ship the compared version to your target environment.
  </Card>

  <Card title="Rollback Your Prompt" icon="clock-rotate-left" href="/docs/deploy/rollback-your-prompt">
    Revert if the promoted version causes issues.
  </Card>
</CardGroup>
