Skip to main content

Type Alias: TaskStep<Model, Store, AdditionalMessageOptions, AdditionalChatOptions>

TaskStep<Model, Store, AdditionalMessageOptions, AdditionalChatOptions>: object

Type Parameters

Model extends LLM = LLM

Store extends object = object

AdditionalMessageOptions extends object = Model extends LLM<object, infer AdditionalMessageOptions> ? AdditionalMessageOptions : never

AdditionalChatOptions extends object = object

Type declaration

context

context: AgentTaskContext<Model, Store, AdditionalMessageOptions, AdditionalChatOptions>

id

id: UUID

nextSteps

nextSteps: Set<TaskStep<Model, Store, AdditionalMessageOptions, AdditionalChatOptions>>

prevStep

prevStep: TaskStep<Model, Store, AdditionalMessageOptions, AdditionalChatOptions> | null

Defined in

packages/core/agent/dist/index.d.ts:21