Skip to main content

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

bool
No description available.
Optional[float]
No description available.

Source

View on GitHub

praisonaiagents/gateway/protocols.py at line 3604