pub mod catalog;
pub mod context;
pub mod github_copilot;
pub mod image;
pub mod models_dev;
pub mod openai;
pub mod provider;
pub mod provider_models;
pub mod registry;
pub use crate::provider_backend::{
AnthropicProvider, ContentBlock, DynModelProvider, ImageContent, Message, ModelError,
ModelEvent, ModelProvider, ModelRequest, ModelResponse, ModelUsage,
};
pub use context::{estimate_context_usage, ContextUsage, ContextUsageSource};
pub use github_copilot::GitHubCopilotProvider;
pub use image::image_summary;
pub use models_dev::ModelMetadata;
pub use openai::OpenAiProvider;
pub use provider::{build_provider, UnavailableProvider};
impl From<crate::credentials::CredentialError> for ModelError {
fn from(error: crate::credentials::CredentialError) -> Self {
Self::credentials(error)
}
}