walrus_model/lib.rs
1//! Model crate — LLM provider implementations, enum dispatch, configuration,
2//! construction, and runtime management.
3//!
4//! Merges all provider backends (OpenAI, Claude, Local) with the `Provider`
5//! enum, `ProviderManager`, and `ProviderConfig` into a single crate. Config
6//! uses flat `ProviderConfig` with model-prefix kind detection. DeepSeek and
7//! other OpenAI-compatible providers route through the OpenAI backend.
8
9pub mod config;
10pub mod http;
11pub mod manager;
12mod provider;
13
14pub mod claude;
15#[cfg(feature = "local")]
16pub mod local;
17pub mod openai;
18
19pub use config::{ProviderConfig, ProviderKind};
20pub use http::HttpProvider;
21pub use manager::ProviderManager;
22pub use provider::{Provider, build_provider};
23pub use reqwest::Client;