Przejdź do głównej zawartości

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

Properties

extraState

extraState: Record<string, any>

Defined in

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


input

input: string

Defined in

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


memory

memory: BaseMemory<object>

Defined in

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


taskId

taskId: string

Defined in

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