pub async fn parallel_tools<M, F>(
model: M,
configure: F,
tool_concurrency: Option<usize>,
) -> Result<ScenarioReport, ScenarioError>where
M: CompletionModel + 'static,
F: FnOnce(AgentBuilder<M, NoToolConfig>) -> AgentBuilder<M, NoToolConfig>,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.