Skip to content
Developer Preview

EarlierHistoryMessage

One transcript-tail message of an [EarlierHistory] item.

  • role
  • text
Source

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

{
"description": "One transcript-tail message of an [`EarlierHistory`] item.",
"properties": {
"role": {
"description": "Open string enum: `\"user\"` or `\"assistant\"`, the only roles a host\nserves; a client skips any other value.",
"type": "string"
},
"text": {
"description": "The stored tail text verbatim (at most 1,000 characters); clients\napply their own assistant display rules.",
"type": "string"
}
},
"required": [
"role",
"text"
],
"type": "object"
}