Skip to main content

build_deny_resume_message

Function build_deny_resume_message 

Source
fn build_deny_resume_message(message: &str) -> String
Expand description

Compose the directive follow-up message used by the AskUserQuestion dead-air fallback when the answer was a DECLINE rather than a real answer. Mirrors build_answer_resume_message’s directive tone (resume the task, don’t wait for further input) but tells the model the outcome was a decline so it doesn’t hallucinate a value the user never provided.