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

Method

> This is a method of the [**RepairPlan**](https://praison.ai/docs/sdk/reference/praisonaiagents/classes/RepairPlan.md) class in the [**doctor\_protocol**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/doctor_protocol.md) module.

Render all per-rule unified diffs joined together.

## Signature

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

### Returns

**Returns** `str`

The result of the operation.

## Uses

* `d.unified_diff`

## Source

> [card] [View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/runtime/doctor_protocol.py#L76)
>
> `praisonaiagents/runtime/doctor_protocol.py` at line 76


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