Skip to main content

parallel_tools

Function parallel_tools 

Source
pub async fn parallel_tools<M, F>(
    model: M,
    configure: F,
    tool_concurrency: Option<usize>,
) -> Result<ScenarioReport, ScenarioError>
Available on crate feature test-utils only.
Expand description

Runs two independent calls in one assistant turn and validates canonical call/result history correlation.

Set tool_concurrency to Some(1) to prove that serial host execution does not split or drop the model’s parallel call batch.