apollo/providers/mod.rs
1//! LLM Provider abstraction — swap backends without changing agent logic.
2//! Enable only what you need via Cargo features.
3
4pub mod retry;
5pub mod traits;
6
7// Always available
8pub mod oauth;
9
10#[cfg(feature = "provider-anthropic")]
11pub mod anthropic;
12#[cfg(feature = "provider-copilot")]
13pub mod copilot;
14// OpenAI-compat covers: openai, openrouter, groq, together, mistral, deepseek,
15// fireworks, perplexity, xai, moonshot, venice, huggingface, siliconflow,
16// cerebras, minimax, vercel, cloudflare, and any custom endpoint
17#[cfg(feature = "provider-ollama")]
18pub mod ollama;
19pub mod openai_compat;
20
21#[cfg(feature = "rs-ai")]
22pub mod rs_ai;
23
24pub use traits::{ChatMessage, ChatRequest, ChatResponse, Provider, ToolCall};