Rate Limit Decision • AI Agent SDK
RateLimitDecision: Result of a rate-limit evaluation.
RateLimitDecision
Defined in the protocols module.
AI Agent
Result of a rate-limit evaluation.
Attributes: allowed: Whether the request may proceed. retry_after_seconds: Backoff hint populated when `allowed is False (seconds until the caller may retry); None` when allowed.
Properties
ResponseField
boolNo description available.
ResponseField
Optional[float]No description available.
Source
View on GitHubpraisonaiagents/gateway/protocols.py at line 5030