build_answer_resume_message

Function build_answer_resume_message 

Source
fn build_answer_resume_message(answers: &Value) -> String
Expand description

Compose the directive follow-up message used by the AskUserQuestion dead-air fallback. answers maps each question’s text to the selected label(s) or free text (the same object delivered in the control_response). The message is deliberately directive so the model resumes the task instead of treating it as a no-op (the “user sent an empty message” failure mode).