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/// OpenAI-compatible chat-completion provider wire codec.
8pub mod openai;
9/// Open provider profile records used by runners and browse surfaces.
10pub mod profile;
11
12/// Ollama provider wire helpers, also preserved at the crate root.
13pub mod ollama {
14 pub use crate::ollama::{
15 OllamaCodec, OllamaCodecLib, OllamaRequestOptions, decode_ollama_response,
16 decode_ollama_stream, encode_ollama_request,
17 };
18}