Ga naar hoofdinhoud

Interface: AgentWorker

Implemented by

Methods

finalizeTask

finalizeTask(task, kwargs?): void

Parameters

NameType
taskTask
kwargs?any

Returns

void

Defined in

packages/core/src/agent/types.ts:8


initializeStep

initializeStep(task, kwargs?): TaskStep

Parameters

NameType
taskTask
kwargs?any

Returns

TaskStep

Defined in

packages/core/src/agent/types.ts:5


runStep

runStep(step, task, kwargs?): Promise<TaskStepOutput>

Parameters

NameType
stepTaskStep
taskTask
kwargs?any

Returns

Promise<TaskStepOutput>

Defined in

packages/core/src/agent/types.ts:6


streamStep

streamStep(step, task, kwargs?): Promise<TaskStepOutput>

Parameters

NameType
stepTaskStep
taskTask
kwargs?any

Returns

Promise<TaskStepOutput>

Defined in

packages/core/src/agent/types.ts:7