run
Call Signature
Section titled “Call Signature”function run<TAgent, TContext>(   agent,   input,options?): Promise<RunResult<TContext, TAgent>>;Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type | 
|---|---|
| 
 | ‐ | 
| 
 | 
 | 
Parameters
Section titled “Parameters”| Parameter | Type | 
|---|---|
| 
 | 
 | 
| 
 | |  | 
| 
 | 
 | 
Returns
Section titled “Returns”Promise<RunResult<TContext, TAgent>>
Call Signature
Section titled “Call Signature”function run<TAgent, TContext>(   agent,   input,options?): Promise<StreamedRunResult<TContext, TAgent>>;Type Parameters
Section titled “Type Parameters”| Type Parameter | Default type | 
|---|---|
| 
 | ‐ | 
| 
 | 
 | 
Parameters
Section titled “Parameters”| Parameter | Type | 
|---|---|
| 
 | 
 | 
| 
 | |  | 
| 
 | 
 | 
Returns
Section titled “Returns”Promise<StreamedRunResult<TContext, TAgent>>