Skip to main content

read_transcript

Function read_transcript 

Source
pub fn read_transcript<R: Read>(
    reader: R,
    format: TranscriptFormat,
) -> Result<Vec<ThreadTurn>>
Expand description

Read a transcript from any Read in the given format and return the turns in file order. Non-matching / unrecognized line types are skipped silently (Claude Code adds new type values over time).