Skip to content

test (provider/anthropic): add test cases for 529 overloaded error#7546

Merged
lgrammel merged 2 commits intomainfrom
lg/nsLkanyd
Jul 25, 2025
Merged

test (provider/anthropic): add test cases for 529 overloaded error#7546
lgrammel merged 2 commits intomainfrom
lg/nsLkanyd

Conversation

@lgrammel
Copy link
Collaborator

@lgrammel lgrammel commented Jul 25, 2025

Background

Multiple reports indicated that there are issues with handling of Anthropic overloaded errors.

Summary

Add tests for 3 scenarios:

  • 529 on generate
  • 529 on stream
  • overloaded error during streaming

Future Work

Investigate how to do retries if overloaded errors happen during streaming. Since some content may already have streamed at this point, this is not straight forward.

Related Issues

Closes #2453

@lgrammel lgrammel changed the title aaa test (provider/anthropic): add test cases for 529 overloaded error Jul 25, 2025
@lgrammel lgrammel marked this pull request as ready for review July 25, 2025 13:24
@lgrammel lgrammel merged commit 83170a5 into main Jul 25, 2025
8 checks passed
@lgrammel lgrammel deleted the lg/nsLkanyd branch July 25, 2025 13:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ungraceful failure error when the anthropic api is overloaded

2 participants