{{ message }}
Repository navigation
fix: respect provider Retry-After before retrying model requests - #49
Open
rudycelekli wants to merge 1 commit into
Open
rudycelekli wants to merge 1 commit into
rudycelekli wants to merge 1 commit into
Conversation
Signed-off-by: Rudy Celekli <47457359+rudycelekli@users.noreply.github.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Summary
Honor a retryable hosted model endpoint's
Retry-Afterheader before the existing fallback backoff. A provider asking for 45 seconds currently gets a 15-second retry on HTTP 429 or a one-second retry on HTTP 503, which can keep a benchmark run inside the same rate-limit window.Accept delta seconds and HTTP dates, clamp past dates to zero, and retain the existing fallback for malformed or overflowing values. Final attempts and nonretryable responses retain their existing error behavior. This is provider request pacing; dataset download retry handling in #33 is a separate caller.
Reproduction and validation
mlx_vlm; two import the missingtest_p3_labeltrainfixture. No new full-suite failures.git diff --checkpasses. No hosted checks are currently configured/reported; this is not a remote-green claim.AI assistance
Prepared with AI assistance. The native reproduction, source changes and exact-head tests were independently reviewed before submission.