Skip to main content

Class: Task

Task is a unit of work for the agent.

Param

taskId

Constructors

constructor

new Task(«destructured»): Task

Parameters

NameType
«destructured»TaskParams

Returns

Task

Defined in

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

Properties

extraState

extraState: Record<string, any>

Defined in

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


input

input: string

Defined in

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


memory

memory: any

Defined in

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


taskId

taskId: string

Defined in

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