pub fn validate_cancelled_failure(
error: &PromptError,
expected_reason: &str,
expected_tool: &str,
) -> Result<(), ScenarioError>Available on crate feature
test-utils only.Expand description
Validate cancellation diagnostics, including the exact reason and retained assistant tool-call history.