Skip to content
Developer Preview

turn/modelAttemptStarted

A turn’s model attempt is starting: its model provider task recorded its opening status; observable mid-turn, non-terminal (ADR 68644-model-attempt-started D1).

Type: TurnModelAttemptStartedParams

turn/modelAttemptStarted params: a turn’s model provider task recorded its opening status — one model attempt is starting (before the provider dials), retries and later model steps included. Clients raise their thinking state here, the point a switch-off TUI flips on model-task activity. Non-terminal: it never resolves a turn-wait. sourceRange cites the session stream’s mirror of the task-lifecycle record.

Field Type Stability Presence Description
sessionId string required The owning session.
sourceRange SourceRange required The durable record this event folded from (the session stream’s mirror of the model task’s opening status; first == last).
turnId string required The running turn whose model attempt is starting.
viewCursor string required Opaque, strictly monotonic view cursor.
Source

schema/msp/experimental/msp.schema.json#/notifications/turn~2FmodelAttemptStarted

{
"description": "A turn's model attempt is starting: its model provider task recorded its opening status; observable mid-turn, non-terminal (ADR 68644-model-attempt-started D1).",
"params": {
"$ref": "#/$defs/TurnModelAttemptStartedParams"
}
}