pub fn truncate_preview(preview: &str, max_length: usize) -> String
Smart truncate preview to reduce token usage Truncates at word boundary if possible, adds ellipsis if truncated