Skip to main content

turns_from_stream

Function turns_from_stream 

Source
pub(crate) fn turns_from_stream(tail: &[u8], starts_mid_line: bool) -> Vec<Turn>
Expand description

The record’s user and assistant turns, oldest first. Tool output is left out (it can be huge and replaying it is an injection surface); hidden memory-reinjection turns and the model’s replies to them are skipped, the same way the pane hides them.