pub mod adapter_registry;
mod attachments;
pub mod client;
mod codec;
pub(crate) mod cost;
pub mod error;
pub mod generate;
pub mod middleware;
pub mod model_test;
pub mod provider;
pub mod providers;
mod reasoning;
pub mod retry;
pub mod token_count;
pub mod tools;
pub(crate) mod transport;
pub mod types;

pub use error::{Error, ProviderErrorDetail, ProviderErrorKind, Result};
pub use fabro_model::{ModelHandle, ProviderId};
pub use token_count::{
    InputTokenCount, InputTokenCountMethod, InputTokenCountPreference, estimate_input_tokens,
};
