Skip to main content

parallel_tools

Function parallel_tools 

Source
pub async fn parallel_tools<W, T, F>(
    model: Model<W, T>,
    configure: F,
    tool_concurrency: Option<usize>,
) -> Result<ScenarioReport, ScenarioError>
where W: Wire<Op = Completion>, T: Transport<W>, F: FnOnce(AgentBuilder) -> AgentBuilder,
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.