pub mod cache;
pub mod config;
pub mod errors;
pub mod middleware;
pub mod monitoring;
pub mod client;
pub mod types;
pub use client::{LLMClient, LoadBalancer, LoadBalancingStrategy, ProviderStats};
pub use config::{ClientConfig, ConfigBuilder, SdkConfigBuilder};
pub use errors::{Result, SDKError};
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
pub fn init() {
#[cfg(feature = "tracing")]
{
tracing_subscriber::fmt::init();
}
}
#[cfg(test)]
mod tests {
use super::*;
#[test]
fn test_version() {
#[allow(clippy::const_is_empty)]
{
assert!(!VERSION.is_empty());
}
assert!(VERSION.contains('.'));
}
}