Skip to main content

resolve_trigger_message

Function resolve_trigger_message 

Source
pub fn resolve_trigger_message(text: &str, trigger: &CustomTrigger) -> String
Expand description

The effective initial message for a session created by a trigger: the configured prompt plus any trailing user text, or the raw text when the trigger has no prompt.