Skip to main content

load_materialized_turn_outcome

Function load_materialized_turn_outcome 

Source
pub fn load_materialized_turn_outcome(
    session_id: &str,
) -> Result<Option<MaterializedTurnState>>
Expand description

Where a session stands turn by turn: what is running now, and how the last finished prompt ended. Returns None when the session has no projection row. The API’s wait loop reads this for sessions whose actor is gone.