SessionModelChangedParams
session/modelChanged params: a durable model-selection
record landed.
Fields and variants
Section titled “Fields and variants”modelIdproviderIdsessionIdsourcesourceRangeviewCursor
Source
schema/msp/experimental/msp.schema.json#/types/SessionModelChangedParams
{ "description": "`session/modelChanged` params: a durable model-selection\nrecord landed.", "properties": { "modelId": { "description": "The selected model.", "type": "string" }, "providerId": { "description": "The selected provider; `null` when the selection names none.", "type": "string" }, "sessionId": { "description": "The owning session.", "type": "string" }, "source": { "$ref": "#/$defs/ModelChangeSource", "description": "What drove the selection." }, "sourceRange": { "$ref": "#/$defs/SourceRange", "description": "The durable records this event folded from." }, "viewCursor": { "description": "Opaque, strictly monotonic view cursor.", "type": "string" } }, "required": [ "modelId", "sessionId", "source", "sourceRange", "viewCursor" ], "type": "object"}