Expand description
Unified high-level client abstractions for multi-provider LLM access.
This crate defines shared types, transport abstractions, and provider implementations so downstream applications can route chat requests to OpenAI, Anthropic, Google Gemini, or any additional vendor through one cohesive API surface.
Re-exports§
pub use client::LLMClient;pub use client::LLMClientLike;pub use error::LLMError;pub use provider::ChatStream;pub use provider::LLMProvider;pub use provider::RetryConfig;pub use provider::RetryableLLMProvider;pub use types::*;
Modules§
- client
- config
- error
- http
- provider
- stream
- types
- Shared data structures modeling multimodal chat requests and responses.
Macros§
- register_
providers - Macro-driven provider registration system.