Resource Sample • AI Agent SDK
ResourceSample: A point-in-time snapshot of the gateway process's resource usage.
ResourceSample
Defined in the protocols module.
AI Agent
A point-in-time snapshot of the gateway process’s resource usage.
Attributes: rss_mb: Resident set size in mebibytes, or `None` when the platform cannot report it (the policy then admits and self-disables so the monitor never crashes the gateway it protects).
Properties
ResponseField
Optional[float]No description available.
Source
View on GitHubpraisonaiagents/gateway/protocols.py at line 4771