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

# supports • AI Agent SDK

> supports: Check if this runtime supports the given model reference.

# supports

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

> This is a method of the [**AgentRuntimeProtocol**](../classes/AgentRuntimeProtocol) class in the [**protocols**](../modules/protocols) module.

Check if this runtime supports the given model reference.

## Signature

```python theme={"theme":{"light":"vitesse-light","dark":"vitesse-dark"}}
def supports(model_ref: Optional[str]) -> bool
```

## Parameters

<ParamField query="model_ref" type="Optional[str]" required={false}>
  Optional model reference (e.g., "gpt-4", "claude-3")
</ParamField>

### Returns

<ResponseField name="Returns" type="bool">
  True if this runtime can handle the model, False otherwise
</ResponseField>

## Source

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