StreamRunOptions
type StreamRunOptions<TContext> = SharedRunOptions<TContext> & object;Options for runs that stream incremental events as the model responds.
Type Declaration
Section titled “Type Declaration”stream
Section titled “stream”stream: true;Whether to stream the run. If true, the run will emit events as the model responds.
Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type |
|---|---|
|
|
|