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 defaults;
5pub mod retry;
6pub mod traits;
7
8// Always available
9pub mod oauth;
10
11#[cfg(feature = "provider-anthropic")]
12pub mod anthropic;
13#[cfg(feature = "provider-copilot")]
14pub mod copilot;
15// OpenAI-compat covers: openai, openrouter, groq, together, mistral, deepseek,
16// fireworks, perplexity, xai, moonshot, venice, huggingface, siliconflow,
17// cerebras, minimax, vercel, cloudflare, and any custom endpoint
18#[cfg(feature = "provider-ollama")]
19pub mod ollama;
20pub mod openai_compat;
21
22#[cfg(feature = "rs-ai")]
23pub mod rs_ai;
24// Shared login store, common to apollo and telekinesis.
25#[cfg(feature = "rs-ai")]
26pub mod shared_credentials;
27
28pub use traits::{ChatMessage, ChatRequest, ChatResponse, Provider, ToolCall};