pub async fn structured_after_tool<M, F>(
model: M,
configure: F,
) -> 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 a normal tool followed by Rig’s synthetic structured-output tool.