Skip to content

Conversation

@andreiancuta-uipath
Copy link
Contributor

@andreiancuta-uipath andreiancuta-uipath commented Jan 20, 2026

  • OpenAi SDK already handles Retry-After header
  • Vertex and Bedrock:
    • Added a tenacity retry strategy that unwinds exceptions, attempting to read the Retry-After header
    • Falls back to exponential backoff if header is absent, and status code or exception type is retryable
    • Disables SDK retries, since they do not support reading the Retry-After header
image

@andreiancuta-uipath andreiancuta-uipath force-pushed the feat/rate-limit-retry branch 12 times, most recently from afe66a1 to 2afeb2c Compare January 27, 2026 09:01
@andreiancuta-uipath andreiancuta-uipath force-pushed the feat/rate-limit-retry branch 2 times, most recently from b8161f7 to 078eec9 Compare January 28, 2026 10:35
@andreiancuta-uipath andreiancuta-uipath merged commit 9e876ed into main Jan 28, 2026
60 of 61 checks passed
@andreiancuta-uipath andreiancuta-uipath deleted the feat/rate-limit-retry branch January 28, 2026 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants