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 of user and assistant entries whose message.content is text or blocks (text, tool_use, tool_result).