When the API rejects an attached image, you're now told rather than getting a silent picture-free answer.
What's wrong with this entry?
When the API rejects an image or document attachment and Claude retries the request without it, that stripping is now reported to the caller. The plugin eval judge uses this: if a case's attached image was rejected, the failure message says so and a dedicated error is raised, instead of the judge quietly grading a prompt with no picture.
- The retry classifies the query as
main_threadorother. - Errors thrown by the observer are logged as warnings and the retry continues.
onMediaStripped
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
Related
Other releases about the same thing. Found by shared names or similar wording; neither means one caused the other.
-
v2.1.221
new_file and new_directory attachments are dropped from the converted message stream
Both mention attachment
-
v2.1.223
Bridge attachments can come back as inline image blocks
Both mention attachment
-
v2.1.223
Attachment upload failures reported back to the model per file
Both mention attachment