Skip to main content

stop_turn_from_transcript

Function stop_turn_from_transcript 

Source
pub fn stop_turn_from_transcript(text: &str) -> StopTurn
Expand description

Read a JSONL transcript. One shape stores message.content blocks (text, tool_use, tool_result). The other stores content and a top-level tool_calls list of name and arguments.