Type alias: Runner<Content>
Runner<
Content
>: (params
,context
?) =>Promise
<Response
<Content
>>
Type parameters
Parameter | Default |
---|---|
Content extends any | string |
A runner that iteratively calls the model and handles function calls.
Parameters
Parameter | Type |
---|---|
params | string | Params |
context ? | Ctx |
Returns
Promise
<Response
<Content
>>