mod canary_matrix;
mod client;
mod interrupt;
mod limits;
mod openai_speech;
mod policy;
mod status;
mod wire_format;
pub use client::{
map_http_status, validate_endpoint, HardenedHttpClient, RemoteEndpoint, RemotePolicy,
DEFAULT_OPENROUTER_ORIGIN,
};
pub use interrupt::{read_body_limited_with_op, send_with_op};
pub use limits::{
read_body_limited, validate_segments, validate_text_bounds, RemoteBodyLimits, TranscriptLimits,
DEFAULT_CHAT_BODY_CAP, DEFAULT_CLEANUP_BODY_CAP, DEFAULT_STT_BODY_CAP,
};
pub use openai_speech::{parse_pcm_content_type, OpenAiSpeechRequest, SpeechResponseFormat};
pub use policy::{
normalize_request_path, AuthScheme, ElevenLabsHttpPolicy, OpenAiHttpPolicy,
OpenRouterHttpPolicy, ProviderHttpPolicy, XaiHttpPolicy, ELEVENLABS_DEFAULT_BASE,
ELEVENLABS_ORIGIN, OPENAI_DEFAULT_BASE, OPENAI_ORIGIN, OPENROUTER_APP_CATEGORIES,
OPENROUTER_APP_REFERER, OPENROUTER_APP_TITLE, OPENROUTER_DEFAULT_BASE, OPENROUTER_ORIGIN,
XAI_DEFAULT_BASE, XAI_ORIGIN,
};
pub use status::{public_network_reason, redact_secret, redact_secret_with};
pub use wire_format::{resolve_encoded_format, ExpectedWireFormat};