walrus_model/lib.rs
1//! Model crate — LLM provider implementations via crabtalk, enum dispatch,
2//! configuration, construction, and runtime management.
3//!
4//! Uses `crabtalk-provider` for the actual LLM backends (OpenAI, Anthropic,
5//! Google, Bedrock, Azure). Wraps them behind wcore's `Model` trait with
6//! type conversion and retry logic.
7
8pub mod config;
9mod convert;
10pub mod manager;
11mod provider;
12
13/// Default model name when none is configured.
14pub fn default_model() -> &'static str {
15 "deepseek-chat"
16}
17
18pub use config::{ApiStandard, ModelConfig, ProviderDef};
19pub use manager::ProviderRegistry;
20pub use provider::{Provider, build_provider};
21pub use reqwest::Client;