Conversation
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.
Recognize transient provider HTTP failures such as
520 status code (no body)in the shared Pi assistant retry classifier, while keeping known authentication/request failures and wrapped Anthropic policy refusals terminal. This affects both normal agent turns and summary calls using the existing bounded retry policy.Status extraction covers the installed OpenAI, Anthropic, Bedrock, and Google SDK message forms. Numeric text elsewhere in an error no longer accidentally enables retries. Existing transport/stream failure matching is unchanged.
Validation: 51 focused retry tests;
npm run checkpasses. The checked model-data snapshot includes the published 0.82.0 catalog plus current generated models because current online hydration omits a provider required by the tracked catalog. No model-catalog changes are included.QM needs this classifier backported onto its existing 0.82.0 package line; the dependency integration must retain the security.3 coding-agent shrinkwrap fixes and replace its nested pi-ai dependency as well as the direct dependency.