Type Alias: TaskHandler()<Model, Store, AdditionalMessageOptions>
TaskHandler<
Model
,Store
,AdditionalMessageOptions
>: (step
,enqueueOutput
) =>Promise
<void
>
Type Parameters
• Model extends LLM
• Store extends object
= object
• AdditionalMessageOptions extends object
= Model
extends LLM
<object
, infer AdditionalMessageOptions> ? AdditionalMessageOptions
: never
Parameters
• step: TaskStep
<Model
, Store
, AdditionalMessageOptions
>
• enqueueOutput
Returns
Promise
<void
>
Defined in
packages/core/agent/dist/index.d.ts:50