Sending too many images or documents now reports a clear media-budget error and retries without them.
What's wrong with this entry?
A 400 whose message mentions too much media is classified as a media budget failure; the retry path strips both document and image blocks, and the error surfaces to you as media_budget_exceeded. Previously this was matched ad hoc against two literal substrings.
- The surrounding classifiers now take a message string rather than an Error object.
media_budget_exceeded
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.229
Render errors are now reported instead of silently blanking
Both mention error
-
v2.1.234
Empty or malformed API responses now report what actually answered
Both mention error
-
v2.1.234
Safeguard and refusal notices now name the category and validate the request ID
Both mention error