Claude Code v2.1.2 ·
Image Size Validation
EntryKind: in v2.1.2,
ChangesSection of the release
What
Validates image sizes before sending to the API and provides clear error messages when images exceed limits.
Details
- Checks base64-encoded image sizes against API limits
- Provides human-readable size information (KB/MB) in error messages
- Reports which specific images are too large when multiple exceed limits
- Suggests resizing images before sending
Evidence
urB() at line 278763 (image validator, contains "exceeds API limit")
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
See this entry in the whole of v2.1.2 →