Interface: AgentWorker
Implemented by
Methods
finalizeTask
▸ finalizeTask(task
, kwargs?
): void
Parameters
Name | Type |
---|---|
task | Task |
kwargs? | any |
Returns
void
Defined in
packages/core/src/agent/types.ts:13
initializeStep
▸ initializeStep(task
, kwargs?
): TaskStep
Parameters
Name | Type |
---|---|
task | Task |
kwargs? | any |
Returns
Defined in
packages/core/src/agent/types.ts:10
runStep
▸ runStep(step
, task
, kwargs?
): Promise
<TaskStepOutput
>
Parameters
Name | Type |
---|---|
step | TaskStep |
task | Task |
kwargs? | any |
Returns
Promise
<TaskStepOutput
>
Defined in
packages/core/src/agent/types.ts:11
streamStep
▸ streamStep(step
, task
, kwargs?
): Promise
<TaskStepOutput
>
Parameters
Name | Type |
---|---|
step | TaskStep |
task | Task |
kwargs? | any |
Returns
Promise
<TaskStepOutput
>