//! Factory for `rig::providers::openai::Client`.
use openai;
use LlmError;
/// Builds an OpenAI rig client.
///
/// When `base_url` is `Some`, the client points at that endpoint instead of
/// the default `https://api.openai.com`. Useful for enterprise proxies and
/// self-hosted OpenAI-compatible servers.
pub