llm_relay/lib.rs
1pub mod convert;
2pub mod types;
3
4#[cfg(feature = "client")]
5pub mod client;
6
7// Re-export commonly used types at crate root
8pub use types::anthropic::{ContentBlock, Message, MessagesResponse};
9pub use types::common::{
10 EffortLevel, Provider, ResponseFormat, StopReason, ThinkingConfig, ToolDefinition, Usage,
11};
12
13#[cfg(feature = "client")]
14pub use client::{ChatOptions, ClientConfig, LlmClient, LlmError};
15
16#[cfg(feature = "embeddings")]
17pub use client::{EmbeddingsClient, EmbeddingsConfig};