Skip to content

StreamRunOptions

type StreamRunOptions<TContext> = SharedRunOptions<TContext> & object;
stream: true;

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

Type Parameter Default type

TContext

undefined