pub fn normalize_tool_result(
content: &[ContentBlock],
auto_resize: bool,
limits: Option<&ImageResize>,
) -> Option<Vec<ContentBlock>>Expand description
pi’s normalizeToolResultImages: each image of a tool result processed
as for the model, followed by a text block of pi’s notes when there are
any. An image that fails keeps its block. None when nothing changed.