Handle image processing errors gracefully with automatic retry#7
Merged
rossnelson merged 1 commit intomainfrom Feb 14, 2026
Merged
Handle image processing errors gracefully with automatic retry#7rossnelson merged 1 commit intomainfrom
rossnelson merged 1 commit intomainfrom
Conversation
When the API cannot process an attached image, strip the image blocks from the prompt and re-enqueue the request instead of showing a raw error. Users see a warning that the image was dropped and their text request is still fulfilled. Also defers the error notification to after failure classification so non-recoverable errors are reported correctly.
rossnelson
pushed a commit
that referenced
this pull request
Feb 14, 2026
Replace hardcoded PR titles with AI-generated content by calling claude --print with the branch diff and commit log, parsing the JSON response into a descriptive title and markdown body.
rossnelson
added a commit
that referenced
this pull request
Feb 14, 2026
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
IMAGE_ERRORfailure type andretried_without_imagesrecovery action for explicit image error classificationTest plan