Class: TaskStep
TaskStep is a unit of work for the agent.
Param
taskId
Param
stepId
Param
input
Param
stepState
Implements
ITaskStep
Constructors
constructor
• new TaskStep(taskId
, stepId
, input?
, stepState?
): TaskStep
Parameters
Name | Type |
---|---|
taskId | string |
stepId | string |
input? | null | string |
stepState? | null | Record <string , any > |
Returns
Defined in
packages/core/src/agent/types.ts:122
Properties
input
• Optional
input: null
| string
Implementation of
ITaskStep.input
Defined in
packages/core/src/agent/types.ts:116
isReady
• isReady: boolean
= true
Implementation of
ITaskStep.isReady
Defined in
packages/core/src/agent/types.ts:120
nextSteps
• nextSteps: Record
<string
, TaskStep
> = {}
Implementation of
ITaskStep.nextSteps
Defined in
packages/core/src/agent/types.ts:118
prevSteps
• prevSteps: Record
<string
, TaskStep
> = {}
Implementation of
ITaskStep.prevSteps
Defined in
packages/core/src/agent/types.ts:119
stepId
• stepId: string
Implementation of
ITaskStep.stepId
Defined in
packages/core/src/agent/types.ts:115
stepState
• stepState: Record
<string
, any
> = {}
Implementation of
ITaskStep.stepState
Defined in
packages/core/src/agent/types.ts:117
taskId
• taskId: string
Implementation of
ITaskStep.taskId
Defined in
packages/core/src/agent/types.ts:114