sim_codec_chat/providers/mod.rs
1//! Provider-specific chat wire codecs built on the canonical transcript shape.
2//!
3//! The provider modules translate hosted and local model-provider JSON into
4//! the same `codec:chat` transcript maps instead of making each runner invent
5//! its own request and response records.
6
7/// Anthropic Messages provider wire codec.
8pub mod anthropic;
9/// Lemonade OpenAI-compatible provider wire codec.
10pub mod lemonade;
11/// LM Studio OpenAI-compatible provider wire codec.
12pub mod lm_studio;
13/// OpenAI-compatible chat-completion provider wire codec.
14pub mod openai;
15/// Shared helpers for OpenAI-compatible provider wire codecs.
16pub(in crate::providers) mod openai_compat;
17/// Open provider profile records used by runners and browse surfaces.
18pub mod profile;
19
20/// Ollama provider wire helpers, also preserved at the crate root.
21pub mod ollama {
22 pub use crate::ollama::{
23 OllamaCodec, OllamaCodecLib, OllamaRequestOptions, decode_ollama_response,
24 decode_ollama_stream, encode_ollama_request,
25 };
26}