Skip to main content

llm_dialect/dialect/
mod.rs

1//! Wire-format dialect adapters.
2//!
3//! `*/req.rs` parses the client wire format into the [`crate::items`]
4//! canonical model; `*/out.rs` renders canonical responses back to that
5//! dialect and `*/stream.rs` holds the per-chunk SSE framer state machines.
6//! All of it is pure data transformation; the SSE pump in [`sse`] (feature
7//! `axum`) is the only runtime-coupled piece.
8
9pub mod anthropic;
10pub mod deflate;
11pub mod openai_chat;
12pub mod openai_responses;
13pub mod sse;
14
15#[cfg(all(test, feature = "axum"))]
16#[path = "stream_matrix_tests.rs"]
17mod stream_matrix_tests;