//! The OpenAI-compatible HTTP API. //! //! Layers on top of [`crate::engine`]: [`types`] is the wire contract, //! [`formatter`] the token<->text seam, [`service`] the completion logic, and //! [`routes`] the axum router. pub mod anthropic; pub mod formatter; pub mod routes; pub mod service; mod sessions; pub mod stop; pub mod types; mod web; pub use formatter::{Decoder, Formatter, Piece, Prompt}; pub use routes::{router, router_with_auth, router_with_store, AuthConfig}; pub use service::ChatService; pub use types::{ChatMessage, ChatRequest, ChatResponse, ModelList, Role};