undecodableUserImagePlaceholder top-level constant

String const undecodableUserImagePlaceholder

Placeholder substituted for user-message images after the backend rejected the request as undecodable (e.g. Gemini's 400 Unable to process input image): the retry tells the model WHY the image is gone instead of silently dropping it.

Implementation

const undecodableUserImagePlaceholder =
    '(image omitted: the model backend could not decode it — the file may '
    'be corrupt or in an unsupported format)';