Nhảy tới nội dung

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:13


initializeStep

initializeStep(task, kwargs?): TaskStep

Parameters

NameType
taskTask
kwargs?any

Returns

TaskStep

Defined in

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


runStep

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

Parameters

NameType
stepTaskStep
taskTask
kwargs?any

Returns

Promise<TaskStepOutput>

Defined in

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


streamStep

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

Parameters

NameType
stepTaskStep
taskTask
kwargs?any

Returns

Promise<TaskStepOutput>

Defined in

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