Skip to content
Developer Preview

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.

  • sessionId
  • sourceRange
  • turnId
  • viewCursor
Source

schema/msp/experimental/msp.schema.json#/types/TurnModelAttemptStartedParams

{
"description": "`turn/modelAttemptStarted` params: a turn's model provider task recorded\nits opening status — one model attempt is starting (before the provider\ndials), retries and later model steps included. Clients raise their\nthinking state here, the point a switch-off TUI flips on model-task\nactivity. Non-terminal: it never resolves a turn-wait. `sourceRange`\ncites the session stream's mirror of the task-lifecycle record.",
"properties": {
"sessionId": {
"description": "The owning session.",
"type": "string"
},
"sourceRange": {
"$ref": "#/$defs/SourceRange",
"description": "The durable record this event folded from (the session stream's\nmirror of the model task's opening status; `first == last`)."
},
"turnId": {
"description": "The running turn whose model attempt is starting.",
"type": "string"
},
"viewCursor": {
"description": "Opaque, strictly monotonic view cursor.",
"type": "string"
}
},
"required": [
"sessionId",
"sourceRange",
"turnId",
"viewCursor"
],
"type": "object"
}