pub fn compact(instructions: Option<&str>) -> StringExpand description
Build the prompt string for /compact.
Pass Some(instructions) to mirror the CLI’s
/compact <instructions> form (the trailing text steers the
summarizer); pass None for a default compaction. Empty or
whitespace-only instructions collapse to the bare form.