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

Method

> This is a method of the [**AgentRuntimeProtocol**](https://praison.ai/docs/sdk/reference/praisonaiagents/classes/AgentRuntimeProtocol.md) class in the [**protocols**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/protocols.md) 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

**model\_ref** `Optional[str]`

Optional model reference (e.g., "gpt-4", "claude-3")

### Returns

**Returns** `bool`

True if this runtime can handle the model, False otherwise

## Source

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


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