Skip to content

fix: stop the run when a provider rejects an attachment - #60

Merged
Im-Beast merged 1 commit into
mainfrom
mateusz/attachment-errors
Sep 14, 2026
Merged

fix: stop the run when a provider rejects an attachment#60
Im-Beast merged 1 commit into
mainfrom
mateusz/attachment-errors

Conversation

@Im-Beast

Copy link
Copy Markdown
Contributor
  • A provider rejecting an attachment as unreadable now ends the run instead of switching models, since the next model fails on the same bytes
  • Vertex's "Failed to decode image data" is now classified as attachment_rejected instead of a generic client error
  • A provider failing to download the attachment URL now counts as a server error and retries, since our own fetch on other providers can still succeed

@Im-Beast
Im-Beast force-pushed the mateusz/attachment-errors branch from 1e5a2ec to aaa7124 Compare September 14, 2026 13:29
@Im-Beast
Im-Beast merged commit 6cef49a into main Sep 14, 2026
1 check passed
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.

1 participant