Skip to content

StreamRunOptions

type StreamRunOptions<TContext> = SharedRunOptions<TContext> & object;

Options for runs that stream incremental events as the model responds.

stream: true;

Whether to stream the run. If true, the run will emit events as the model responds.

Type Parameter Default type

TContext

undefined