Skip to main content

is_usable_title

Function is_usable_title 

Source
pub fn is_usable_title(stored: &str) -> bool
Expand description

Is this stored value a real title? The one predicate behind accepting a reply, feeding a stored title back into a prompt, and (in the frontend’s port of it) displaying one. A value already in a database from before the check existed, such as (none yet), is judged here too, so it is never fed back to the model and never shown.