Skip to content

StreamEventTextStream

type StreamEventTextStream = object;

Event returned by the model when new output text is available to stream to the user.

delta: string;

The delta text that was streamed by the modelto the user.

optional providerData: Record<string, any>;

Additional optional provider specific data. Used for custom functionality or model provider specific fields.

type: "output_text_delta";