pub fn validate_image_sizes(
input: &[Message],
limit: u64,
) -> Result<(), GenerateError>Expand description
Validate inline and legacy base64 images before constructing a provider body. Remote URLs carry no known payload size; the provider validates their content. Local references must be checked while resolving and never sent to a provider.