ModelContentBlockDeltaEvent
Defined in: src/models/streaming.ts:116
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:120
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:125
Index of the content block being updated.
readonly delta: ContentBlockDelta;Defined in: src/models/streaming.ts:130
The incremental content update.
Implementation of
Section titled “Implementation of”ModelContentBlockDeltaEventData.delta