> ## 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 Fixes • AI Agent SDK

> apply_fixes: Apply fixes from all rules in the default registry.

# apply\_fixes

<div className="flex items-center gap-2">
  <Badge color="teal">Function</Badge>
</div>

> This function is defined in the [**doctor\_registry**](../modules/doctor_registry) module.

Apply fixes from all rules in the default registry.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def apply_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

* `apply_all_fixes`
* `get_default_registry`

## Source

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