Class: OpenAIAgent
Runner will manage the task execution and provide a high-level API for the user
Extends
Constructors
new OpenAIAgent()
new OpenAIAgent(
params
):OpenAIAgent
Parameters
• params: LLMAgentParams
Returns
Overrides
Defined in
packages/llm/openai/dist/index.d.ts:14
Properties
createStore()
createStore: () =>
object
Returns
object
Inherited from
Defined in
packages/core/agent/dist/index.d.ts:102
taskHandler
taskHandler:
TaskHandler
<LLM
<object
,object
>,object
,object
>
Inherited from
Defined in
packages/core/agent/dist/index.d.ts:103
defaultTaskHandler
static
defaultTaskHandler:TaskHandler
<LLM
<object
,object
>,object
,object
>
Inherited from
Defined in
packages/core/agent/dist/index.d.ts:76
Accessors
chatHistory
get
chatHistory():ChatMessage
<AdditionalMessageOptions
>[]
Returns
ChatMessage
<AdditionalMessageOptions
>[]
Inherited from
Defined in
packages/core/agent/dist/index.d.ts:79
llm
get
llm():AI
Returns
AI
Inherited from
Defined in
packages/core/agent/dist/index.d.ts:78
verbose
get
verbose():boolean
Returns
boolean
Inherited from
Defined in
packages/core/agent/dist/index.d.ts:80