Skip to main content

narration_prompt

Function narration_prompt 

Source
pub fn narration_prompt(kind: &str, context: &str) -> Option<String>
Expand description

Build the prompt for one narration kind.

kind is what makes this a general facility rather than a background-task-specific one: adding a narrated action means adding an arm here, not new plumbing. Returns None for an unrecognised kind so an unknown caller is a no-op rather than an unconstrained prompt.