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

# Apply All Fixes • AI Agent SDK

> apply_all_fixes: Apply fixes from all rules that have findings.

# apply\_all\_fixes

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

> This is a method of the [**DoctorRulesRegistry**](../classes/DoctorRulesRegistry) class in the [**doctor\_registry**](../modules/doctor_registry) module.

Apply fixes from all rules that have findings.

Backward-compatible convenience wrapper that returns only the repaired
config dict. For the safety-rail surface (diff preview, backup, refuse,
re-validation) use :meth:`plan_fixes`.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def apply_all_fixes(config: Dict[str, Any]) -> Dict[str, Any]
```

## Parameters

<ParamField query="config" type="Dict[str, Any]" required={true}>
  No description available.
</ParamField>

### Returns

<ResponseField name="Returns" type="Dict[str, Any]">
  The result of the operation.
</ResponseField>

## Uses

* `plan_fixes`

## Used By

* [`apply_fixes`](../functions/apply_fixes)

## Source

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