enabled • AI Agent SDK
enabled: Whether pressure-based admission is active (a threshold is set).
enabled
Method
</div>
This is a method of the MemoryPressurePolicy class in the protocols module.
Whether pressure-based admission is active (a threshold is set).
Signature
def enabled() -> boolReturns
ResponseField
boolThe result of the operation.
Source
View on GitHubpraisonaiagents/gateway/protocols.py at line 4864