Skip to main content

walrus_model/
lib.rs

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