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
Name | Type | Default value |
---|---|---|
output | unknown | undefined |
taskStep | TaskStep | undefined |
nextSteps | TaskStep [] | undefined |
isLast | boolean | false |
Returns
Defined in
packages/core/src/agent/types.ts:166
Properties
isLast
• isLast: boolean
Defined in
packages/core/src/agent/types.ts:164
nextSteps
• nextSteps: TaskStep
[]
Defined in
packages/core/src/agent/types.ts:163
output
• output: unknown
Defined in
packages/core/src/agent/types.ts:161
taskStep
• taskStep: TaskStep
Defined in
packages/core/src/agent/types.ts:162
Methods
toString
▸ toString(): string
Returns
string