Skip to main content

materialized_tool_call_presentation

Function materialized_tool_call_presentation 

Source
pub fn materialized_tool_call_presentation(
    stored: Option<&ToolCallPresentation>,
    call: &ToolCall,
) -> ToolCallPresentation
Expand description

Use cached presentation data when it was produced by current parser rules, otherwise rebuild it from the complete stored call. This lets parser fixes repair existing transcripts while current summaries remain cheap to load.

Retention drops a finished call’s raw input and output, so a summary made from them is kept: rebuilt from what remains, it could only get worse.