pub fn write_streamed_request_trace_rows<F, S>(
output_path: &Path,
sidecar_path: &Path,
sessions: S,
preserve_session_ids: bool,
tokenizer_factory: F,
config: ExportConfig,
) -> Result<ExportStats>where
F: TokenizerFactory,
S: SessionSource,Expand description
Writes request-trace and sidecar rows in global request-start order.
A session is parsed only once the merge could reach its earliest request and is dropped after its last turn, so memory follows the sessions active at one time rather than the corpus.