Skip to main content

load_threads

Function load_threads 

Source
pub fn load_threads(
    paths: &[PathBuf],
    workers: usize,
    report: &mut ExportReport,
) -> Result<Vec<RolloutThread>>
Expand description

Parses rollout files on workers threads, keeping one copy of each Codex thread.

Codex moves rollouts into archived_sessions while it runs, so one thread can be discovered twice; the copy with more recorded requests wins.