Class: OpenAIAgent
An agent that uses OpenAI's API to generate text.
Hierarchy
-
AgentRunner
↳
OpenAIAgent
Constructors
constructor
• new OpenAIAgent(«destructured»
): OpenAIAgent
Parameters
Name | Type |
---|---|
«destructured» | OpenAIAgentParams |
Returns
Overrides
AgentRunner.constructor
Defined in
packages/core/src/agent/openai/base.ts:28
Properties
agentWorker
• agentWorker: AgentWorker
Inherited from
AgentRunner.agentWorker
Defined in
packages/core/src/agent/runner/base.ts:45
callbackManager
• callbackManager: CallbackManager
Inherited from
AgentRunner.callbackManager
Defined in
packages/core/src/agent/runner/base.ts:48
defaultToolChoice
• defaultToolChoice: string
Inherited from
AgentRunner.defaultToolChoice
Defined in
packages/core/src/agent/runner/base.ts:51
deleteTaskOnFinish
• deleteTaskOnFinish: boolean
Inherited from
AgentRunner.deleteTaskOnFinish
Defined in
packages/core/src/agent/runner/base.ts:50
initTaskStateKwargs
• initTaskStateKwargs: Record
<string
, any
>
Inherited from
AgentRunner.initTaskStateKwargs