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

# Model Requests Allowed • AI Agent SDK

> model_requests_allowed: Return whether real model requests are currently permitted.

# model\_requests\_allowed

Function

> This function is defined in the [**guard**](https://praison.ai/docs/sdk/reference/praisonaiagents/modules/guard.md) module.

Return whether real model requests are currently permitted.

## Signature

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

### Returns

**Returns** `bool`

The result of the operation.

## Source

> **[View on GitHub](https://github.com/MervinPraison/PraisonAI/blob/main/src/praisonai-agents/praisonaiagents/model_harness/guard.py#L133)**
>
> `praisonaiagents/model_harness/guard.py` at line 133


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