Skip to main content

Say

Type Alias Say 

Source
pub type Say<'a> = dyn FnMut(&str, &str) -> bool + 'a;
Expand description

What the loop reports as it goes: text (the model’s words), tool (a call), result (a one-line summary of a tool’s result), denied, and error. Returning false stops the run (the user pressed Ctrl-C).