Skip to main content

user_prompt_count

Function user_prompt_count 

Source
fn user_prompt_count(messages: &[Message]) -> usize
Expand description

How many real user prompts the transcript holds. A synthetic row is the harness speaking, a row with no text is a tool result, and a machine prompt is forge’s own words.