Skip to main content

title_from

Function title_from 

Source
pub fn title_from(instruction: &str, max: usize) -> String
Expand description

The first line of a task, trimmed to a title. Used when the caller gives a body but no title, which is the normal case for an agent piping a file in.