Skip to content

IndividualRunOptions

type IndividualRunOptions<TContext, TAgent> =
| StreamRunOptions<TContext, TAgent>
| NonStreamRunOptions<TContext, TAgent>;

Options polymorphic over streaming or non-streaming execution modes.

Type Parameter Default type

TContext

undefined

TAgent extends Agent<any, any>

Agent<any, any>