Cgroup Limit Mb • AI Agent SDK
cgroup_limit_mb: Return the container memory limit in MiB, or “None“ if unknown.
cgroup_limit_mb
Method
</div>
This is a method of the MemoryPressureProtocol class in the protocols module.
Return the container memory limit in MiB, or `None` if unknown.
Signature
def cgroup_limit_mb() -> Optional[float]Returns
ResponseField
Optional[float]The result of the operation.
Source
View on GitHubpraisonaiagents/gateway/protocols.py at line 4940