Skip to main content

fresh_when_turn_ends

Function fresh_when_turn_ends 

Source
async fn fresh_when_turn_ends(
    state: AppState,
    block_id: String,
    first_message: String,
)
Expand description

Wait for the turn to end, end the session, then send first_message as AgentMux’s own turn, which starts the new session.