pub async fn invalid_tool_recovery<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
Uses one real model turn to exercise fail-fast, retry exhaustion, repair, rejected repair, and skip handling without executing a disallowed call.