pub fn build_compact_summary_prompt(messages: &[Message]) -> StringExpand description
Build a compact summary request: asks the LLM to summarize the conversation up to a certain point.
All message text is run through secret_masker before being
passed to the summarizer, so secrets that appeared in tool output
never end up baked into the summary.