Skip to main content

node_question_notice

Function node_question_notice 

Source
pub fn node_question_notice(
    node_id: &str,
    response: &AgentResponse,
) -> Option<String>
Expand description

Returns the chat message announcing one graph node’s clarification questions, after the answer they refer to, or None when every question is blank. The numbered questions record what was asked; the frontend answers them in its question panel, as for an ordinary turn.

Storage records it with the node’s response so the visible question and the reply routing that depends on it commit together.