Skip to content

Commit 3c5721b

Browse files
test(anthropic): record VCR cassettes for errored and canceled batch outcomes
> 🤖 **This text was AI-generated.** ### Problem The existing Anthropic batch cassettes only covered `succeeded` batch results, leaving `errored` and `canceled` batch result handling without recorded VCR integration coverage. ### Solution - Added `test_errored_batch_outcome` (mixed `succeeded` + `errored` requests via a real `not_found_error` response) and `test_canceled_batch_outcome` (via `messages.batches.cancel`) to `TestAnthropicBatchTracing`. - Recorded and checked in real VCR cassettes for both tests across all matrix versions (`latest`, `1.17.0`, `0.48.0`), verified in `--vcr-record=none` replay mode. Co-authored-by: Abhijeet Prasad <abhijeet@braintrustdata.com> Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
1 parent 68c87cc commit 3c5721b

7 files changed

Lines changed: 7078 additions & 0 deletions