mod azure;
mod client;
mod config;
mod error;
mod pagination;
pub mod realtime;
mod request;
pub mod resources;
mod retry;
mod streaming;
pub mod types;
pub mod webhooks;
pub use client::Client;
pub use config::{
ClientBuilder, DEFAULT_BASE_URL, DEFAULT_CONNECT_TIMEOUT, DEFAULT_MAX_RETRIES, DEFAULT_TIMEOUT,
};
pub use error::{ApiError, ApiErrorDetail, ApiErrorKind, OpenAIError};
pub use pagination::{HasId, List};
pub use streaming::{EventStream, ServerSentEvent, SseDecoder};
pub use types::chat::{
ChatCompletion, ChatCompletionChunk, ChatCompletionRequest, ContentPart, Message,
MessageContent, Stop, StreamOptions,
};
pub use types::common::{FinishReason, ResponseFormat, Role, Tool, ToolChoice, Usage};
pub use webhooks::{WebhookEvent, WebhookHeaders, Webhooks};