Skip to main content

devops_models/llm/
mod.rs

1//! LLM client types and provider abstractions.
2//!
3//! These are pure data types — no HTTP, no browser APIs, no WASM dependencies.
4//!
5//! ## Modules
6//!
7//! - [`types`] — `ChatMessage`, `ChatRequest`, `ChatResponse`, `AnthropicResponse`, SSE types
8//! - [`provider`] — `LlmProvider` enum, `LlmConfig` with endpoint resolution
9
10// Wire-format structs mirroring LLM API schemas — field names match the JSON protocol.
11#[allow(missing_docs)]
12pub mod types;
13pub mod provider;
14
15pub use provider::{LlmConfig, LlmProvider};
16pub use types::{AnthropicResponse, ChatMessage, ChatRequest, ChatResponse};