You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Honor retry delay on Azure/OpenAI status codes 429 and 503 (#795)
## Motivation and Context (Why the change? What's the scenario?)
When sending too many requests to Azure / OpenAI and receiving status
code 429, the response includes how long to wait before retrying. The
same might be true for status code 503.
KM default retry strategy ignores this information, often retrying too
soon, and causing unnecessary errors and potential pipeline failures.
## High level description (Approach, Design)
Fix the retry policy to honor these headers in case of 429 and 503:
* retry-after-ms
* x-ms-retry-after-ms
* Retry-After
0 commit comments