Ask a question to get started
Enter to send•Shift+Enter new line
ModelRateLimitRetryMiddleware( self, retry_delays: tuple[float, ...] = _RATE_LIMIT_RETRY_DELAYS )
AgentMiddleware
Retry rate-limit failures with a short backoff.
Async variant of wrap_model_call.
wrap_model_call
Retry transient provider 429s around model calls.