Skip to main content

user_prompt_in_line

Function user_prompt_in_line 

Source
fn user_prompt_in_line(line: &[u8]) -> Option<String>
Expand description

The text of a real user prompt if line is one: a user record that is not a tool result, not from a sub-agent, and not startup or injected scaffolding.