Skip to main content

ask_in_pane

Function ask_in_pane 

Source
pub(crate) async fn ask_in_pane(
    state: &AppState,
    block_id: &str,
    question: Value,
) -> Result<UserAnswer, String>
Expand description

Ask the person question, the confirmation of their own click in pane block_id, as a modal over that pane (sagas::pane_confirm). With no pane named there is nowhere of its own to ask it, so it goes to the approval window (ask_user) as before. Either way an agent calling the command can’t give the answer.