Skip to main content

accept_line

Function accept_line 

Source
pub fn accept_line(raw: &str, limits: &Limits) -> Option<String>
Expand description

Returns the line to use, or None if the reply is not usable text: empty, multi-line, over the limits, a placeholder, or a model refusal. This is the check every ambient reply gets.