Runner implementation for a single OpenAI agent.

Executes a pre-built agent using the OpenAI Agents SDK (@openai/agents). Tool calling and the agentic loop are handled internally by the SDK's run() function. Created by OpenAIRunnerFactory.createAgent.

Requires @openai/agents to be installed.

Hierarchy

  • OpenAIAgentRunner

Implements

  • Runner

Constructors

Properties

Methods

Constructors

Properties

_agent: any
_agentRun: ((agent, input, opts) => Promise<any>)

Type declaration

    • (agent, input, opts): Promise<any>
    • Parameters

      • agent: any
      • input: string
      • opts: any

      Returns Promise<any>

_logger?: LDLogger
_toolNameMap: Record<string, string>

Methods

Generated using TypeDoc