Skip to main content

render_blocks

Function render_blocks 

Source
pub fn render_blocks(
    blocks: &[TranscriptBlock],
    _usage: &UsageStats,
    th: &Theme,
) -> Vec<Line<'static>>
Expand description

Convert the entire transcript into a flat Vec<Line> with one blank line between adjacent blocks. Folded ToolResult blocks honour the expanded flag.