pub mod credentials;
pub mod ollama;
pub mod pipeline;
pub mod prompt;
pub mod provider_client;
pub mod providers;
pub mod router;
pub mod sandwich;
pub mod setup;
pub mod types;
pub use credentials::{
detect_subscription_auth, fetchium_auth_all, fetchium_auth_get, fetchium_auth_path,
fetchium_auth_remove, fetchium_auth_set, invalidate_gemini_creds, FetchiumAuth,
SubscriptionAuth,
};
pub use ollama::OllamaClient;
pub use pipeline::run_ai_pipeline;
pub use provider_client::{chat_with_fallback, check_provider, ChatResult, ProviderStatus};
pub use providers::{
ModelCapability, ModelInfo, ModelRegistry, ProviderEntry, ProviderKind, ProvidersConfig,
};
pub use router::{route_model, select_model};
pub use sandwich::{assemble_context, sandwich_layout};
pub use setup::{
best_model_name, format_no_models_hint, format_setup_guide, recommend_models, DeviceSpec,
ModelRecommendation, RecommendCategory,
};
pub use types::{
AiConfig, AiPreviewResult, ChatMessage, ModelTier, OllamaModel, RankedSource, SandwichContext,
};