Skip to main content

buffered_streaming_text_parity

Function buffered_streaming_text_parity 

Source
pub async fn buffered_streaming_text_parity<M>(
    model: M,
) -> Result<ScenarioReport, ScenarioError>
where M: CompletionModel + Clone + 'static,
Available on crate feature test-utils only.
Expand description

Runs the same deterministic text request through buffered and raw streaming completion surfaces and validates equivalent visible content and usage.