suture-repair 0.1.2

Ultra-low latency reverse proxy that repairs truncated JSON in LLM streams.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Suture: ultra-low latency streaming JSON repair proxy.
//!
//! Library surface re-exports the repair engine; the `suture` binary is the proxy.

pub mod config;
pub mod encoding;
pub mod proxy;

pub use config::Config;

// Re-export the engine so `cargo add suture` gives the full library.
pub use suture_core::{repair_str, AppendRepair, Repair, StreamRepairer};
pub use suture_sse::{repair_stream, Anthropic, DeltaExtractor, OpenAi, SseRepairer};