Model Requests Allowed • AI Agent SDK

model_requests_allowed: Return whether real model requests are currently permitted.

model_requests_allowed

Function

</div>

This function is defined in the guard module.

Return whether real model requests are currently permitted.

Signature

python
def model_requests_allowed() -> bool

Returns

ResponseField bool

The result of the operation.

Source

View on GitHub

praisonaiagents/model_harness/guard.py at line 133