Skip to content

OSSS.ai.orchestration.interaction_state

OSSS.ai.orchestration.interaction_state

prompt_yes_no(exec_state, *, wizard, pending_question, reason='', pending_topic='', wizard_session_id='', prompt_id='')

✅ Single source of truth: when you decide to ask "yes/no", call this.

It arms the interaction state so TurnNormalizer can interpret the next user turn as a yes/no confirmation and restore pending_question on YES.

Best practice: - Call this at the decision point where you return the yes/no prompt. - Do NOT hand-mutate exec_state keys for wizard prompting.