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:8
initializeStep
▸ initializeStep(task
, kwargs?
): TaskStep
Parameters
Name | Type |
---|---|
task | Task |
kwargs? | any |
Returns
Defined in
packages/core/src/agent/types.ts:5
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:6
streamStep
▸ streamStep(step
, task
, kwargs?
): Promise
<TaskStepOutput
>
Parameters
Name | Type |
---|---|
step | TaskStep |
task | Task |
kwargs? | any |
Returns
Promise
<TaskStepOutput
>