pub fn is_recoverable_length(
message: &AssistantMessage,
desired_max_output: u64,
) -> boolExpand description
Whether a length stop ended below the intended output limit, so one
compact-and-retry attempt may recover it. desired_max_output is the limit
before any clamping to the context.