Class: LLMAgentWorker
Worker will schedule tasks and handle the task execution
Extends
Extended by
Constructors
new LLMAgentWorker()
new LLMAgentWorker():
LLMAgentWorker
Returns
Inherited from
Properties
[toStringTag]
[toStringTag]:
string
Inherited from
Defined in
packages/core/agent/dist/agent/index.d.ts:67
taskHandler
taskHandler:
TaskHandler
<LLM
<object
,object
>,object
,object
>
Overrides
Defined in
packages/core/agent/dist/agent/index.d.ts:98
Methods
createTask()
createTask(
query
,context
):ReadableStream
<TaskStepOutput
<LLM
<object
,object
>,object
,object
>>
Parameters
• query: MessageContent
• context: AgentTaskContext
<LLM
<object
, object
>, object
, object
>
Returns
ReadableStream
<TaskStepOutput
<LLM
<object
, object
>, object
, object
>>
Inherited from
Defined in
packages/core/agent/dist/agent/index.d.ts:66