Skip to main content

OpenAiProvider

Defined in the LLM Providers module.
Rust AI Agent SDK OpenAI-compatible LLM provider

Fields

NameTypeDescription
configLlmConfig-
clientreqwest::Client-

Methods

new

fn new(config: LlmConfig) -> Self
Create a new OpenAI provider Parameters:
NameType
configLlmConfig

default_model

fn default_model() -> Self
Create with default config