StreamEventTextStream
type StreamEventTextStream = object;
Event returned by the model when new output text is available to stream to the user.
Type declaration
Section titled “Type declaration”delta: string;
providerData?
Section titled “providerData?”optional providerData: Record<string, any>;
type: "output_text_delta";