Ana içeriğe geç

Class: TaskStepOutput

TaskStepOutput is a unit of work for the agent.

Param

output

Param

taskStep

Param

nextSteps

Param

isLast

Constructors

constructor

new TaskStepOutput(output, taskStep, nextSteps, isLast?): TaskStepOutput

Parameters

NameTypeDefault value
outputanyundefined
taskStepTaskStepundefined
nextStepsTaskStep[]undefined
isLastbooleanfalse

Returns

TaskStepOutput

Defined in

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

Properties

isLast

isLast: boolean

Defined in

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


nextSteps

nextSteps: TaskStep[]

Defined in

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


output

output: any

Defined in

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


taskStep

taskStep: TaskStep

Defined in

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

Methods

toString

toString(): string

Returns

string

Defined in

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