Interface: TurnStreamableContent
Defined in: lib/types/turn_runner.ts:31
A unit of streamable content emitted during a turn.
Remarks
Each emission represents either a visible assistant message or an internal reasoning trace. aDelta carries the incremental text since the last emission; full is the accumulated text so far. isComplete is true on the final emission for a given id.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
aDelta | string | Incremental text added since the previous emission. | lib/types/turn_runner.ts:41 |
completedAt? | DateTime<boolean> | Timestamp when the stream completed. Absent until isComplete is true. | lib/types/turn_runner.ts:45 |
createdAt | DateTime | Timestamp when this content stream was first created. | lib/types/turn_runner.ts:35 |
full | string | Full accumulated text received so far for this stream. | lib/types/turn_runner.ts:39 |
id | string | Stable identifier for this content stream; groups deltas from the same generation. | lib/types/turn_runner.ts:33 |
isComplete | boolean | true on the final chunk for this id; subsequent emissions will use a new id. | lib/types/turn_runner.ts:43 |
updatedAt | DateTime | Timestamp of the most recent delta received for this stream. | lib/types/turn_runner.ts:37 |