pub fn compacted_transcript(
parent_session_id: &str,
summary: &str,
) -> Vec<MessageParam>Expand description
Build a two-message transcript representing a compacted session.
The first message is a user message containing the compaction context
template, and the second is an assistant message carrying the handoff
summary.