콘텐츠로 이동

StreamRunOptions

이 콘텐츠는 아직 번역되지 않았습니다.

type StreamRunOptions<TContext, TAgent> = SharedRunOptions<TContext, TAgent> & 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

TAgent extends Agent<any, any>

Agent<any, any>