Skip to main content

sparrow/provider/
mod.rs

1//! Provider layer. The Brain trait and the model adapters (Anthropic,
2//! OpenAI-compatible, Ollama, Responses) live in the `sparrow-providers` crate
3//! so the heavy adapter code compiles once and is cached — touching the engine
4//! no longer recompiles them. Re-exported here so existing `crate::provider::*`
5//! imports keep working unchanged.
6//!
7//! `detect` (first-run provider detection) stays in the binary crate because it
8//! depends on the config provider registry and the onboarding wizard.
9
10pub use sparrow_providers::*;
11
12pub mod detect;