Optional logger: LDLoggerOptional Private _clientProtected Optional _loggerCreate an agent runner from an agent AI configuration.
The returned runner uses the OpenAI Agents SDK (@openai/agents) which
manages its own OpenAI client internally.
The LaunchDarkly AI agent configuration. Tool definitions
are sourced from config.tools.
Optional tools: ToolRegistryRegistry mapping tool names to their callable implementations or pre-built openai-agents tool instances. Tool names referenced by the config that are not present here will be logged and skipped.
Optional Create an AgentGraphRunner for an agent graph definition.
Override in provider subclasses to return a configured AgentGraphRunner.
Default implementation returns undefined.
Optional _tools: ToolRegistryOptional Promise resolving to an AgentGraphRunner, or undefined if
this provider does not support graph execution.
Create a model runner from a completion AI configuration.
The completion (or judge) AI configuration.
Whether the runner should accumulate conversation history
across successive run() calls. Defaults to true (chat semantics).
Pass false for stateless runners such as judges.
Static Private _ensureGenerated using TypeDoc
Factory for creating OpenAI runners (chat completion and agent).
A single factory shares one
OpenAIclient across all runners it produces so connection pooling and instrumentation are preserved.