Skip to main content

crabtalk_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
13pub use config::{ApiStandard, ProviderDef, validate_providers};
14pub use manager::ProviderRegistry;
15pub use provider::{Provider, build_provider};
16pub use reqwest::Client;