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

# Render Diffs • AI Agent SDK

> render_diffs: Render all per-rule unified diffs joined together.

# render\_diffs

<div className="flex items-center gap-2">
  <Badge color="purple">Method</Badge>
</div>

> This is a method of the [**RepairPlan**](../classes/RepairPlan) class in the [**doctor\_protocol**](../modules/doctor_protocol) module.

Render all per-rule unified diffs joined together.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def render_diffs() -> str
```

### Returns

<ResponseField name="Returns" type="str">
  The result of the operation.
</ResponseField>

## Uses

* `d.unified_diff`

## Source

<Card title="View on GitHub" icon="github" href="https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/runtime/doctor_protocol.py#L76">
  `praisonaiagents/runtime/doctor_protocol.py` at line 76
</Card>
