Skip to main content

transcript_compactable_events

Function transcript_compactable_events 

Source
pub fn transcript_compactable_events(transcript: &DictMap) -> Vec<VmValue>
Expand description

Extract the events from a transcript-shaped dict that should be routed through [run_compaction_lifecycle] (everything except message and tool_result events). This is the canonical filter used by every transcript-having compaction caller — keeping it in one place stops the trivial-but-load-bearing filter list from drifting per-callsite.