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;
13pub(in crate::providers) mod model_params;
14/// OpenAI-compatible chat-completion provider wire codec.
15pub mod openai;
16/// Shared helpers for OpenAI-compatible provider wire codecs.
17pub(in crate::providers) mod openai_compat;
18/// Open provider profile records used by runners and browse surfaces.
19pub mod profile;
20
21/// Ollama provider wire helpers, also preserved at the crate root.
22pub mod ollama {
23 pub use crate::ollama::{
24 OllamaCodec, OllamaCodecLib, OllamaRequestOptions, decode_ollama_response,
25 decode_ollama_response_with_limits, decode_ollama_stream, decode_ollama_stream_with_limits,
26 encode_ollama_request,
27 };
28}