Class: OpenAIAgent
Hierarchy
-
AgentRunner
<OpenAI
>↳
OpenAIAgent
Constructors
constructor
• new OpenAIAgent(params
): OpenAIAgent
Parameters
Name | Type |
---|---|
params | OpenAIAgentParams |
Returns
Overrides
AgentRunner<OpenAI>.constructor
Defined in
packages/core/src/agent/openai.ts:36
Properties
#chatHistory
• Private
#chatHistory: ChatMessage
<ToolCallLLMMessageOptions
>[]
Inherited from
AgentRunner.#chatHistory
Defined in
packages/core/src/agent/base.ts:227
#llm
• Private
Readonly
#llm: OpenAI
Inherited from
AgentRunner.#llm
Defined in
packages/core/src/agent/base.ts:222
#runner
• Private
Readonly
#runner: AgentWorker
<OpenAI
, {}, ToolCallLLMMessageOptions
>