usecrate::error::Result;usecrate::types::ChatRequest;/// A synchronous, provider-neutral request transform.
////// Transforms run once per logical request before capability gating and
/// normalization. Retries and stream reconnects reuse the transformed request.
pubtraitRequestTransform: Send + Sync {/// Applies the transform to a request.
////// Implementations should be pure and deterministic: the result is reused
/// across retries and stream reconnects.
////// # Errors
/// Returns an error when the request cannot be transformed; the request is
/// then not sent at all.
fntransform(&self, request:&ChatRequest)->Result<ChatRequest>;}