Class: OpenAIAgentWorker
OpenAI agent worker. This class is responsible for running the agent.
Implements
Constructors
constructor
• new OpenAIAgentWorker(«destructured»
): OpenAIAgentWorker
Initialize.
Parameters
Name | Type |
---|---|
«destructured» | OpenAIAgentWorkerParams |
Returns
Defined in
packages/core/src/agent/openai/worker.ts:105
Properties
_getTools
• Private
_getTools: (input
: string
) => Promise
<BaseTool
[]>