ModelMessageStartEvent
Defined in: src/models/streaming.ts:44
Event emitted when a new message starts in the stream.
Implements
Section titled “Implements”Properties
Section titled “Properties”readonly type: "modelMessageStartEvent";Defined in: src/models/streaming.ts:48
Discriminator for message start events.
Implementation of
Section titled “Implementation of”ModelMessageStartEventData.typereadonly role: Role;Defined in: src/models/streaming.ts:53
The role of the message being started.
Implementation of
Section titled “Implementation of”ModelMessageStartEventData.role