ModelContentBlockDeltaEvent
Defined in: src/models/streaming.ts:136
Event emitted when there is new content in a content block.
Implements
Section titled “Implements”Properties
Section titled “Properties”readonly type: "modelContentBlockDeltaEvent";Defined in: src/models/streaming.ts:140
Discriminator for content block delta events.
Implementation of
Section titled “Implementation of”ModelContentBlockDeltaEventData.typecontentBlockIndex?
Section titled “contentBlockIndex?”readonly optional contentBlockIndex: number;Defined in: src/models/streaming.ts:145
Index of the content block being updated.
readonly delta: ContentBlockDelta;Defined in: src/models/streaming.ts:150
The incremental content update.
Implementation of
Section titled “Implementation of”ModelContentBlockDeltaEventData.delta