[codex] Clarify Anthropic extra-usage exhaustion errors#6498
Draft
HiddenPuppy wants to merge 1 commit into
Draft
[codex] Clarify Anthropic extra-usage exhaustion errors#6498HiddenPuppy wants to merge 1 commit into
HiddenPuppy wants to merge 1 commit into
Conversation
Collaborator
1 similar comment
Collaborator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
"You're out of extra usage"API error separately from generic non-retryable 400sRoot Cause
Hermes treated Anthropic's extra-usage exhaustion response like any other non-retryable client error. The request failure itself was correct, but the messaging was too generic, which made a usage-limit state look like a broken login or Hermes bug.
Validation
pytest -n 0 tests/run_agent/test_anthropic_error_handling.py9 passed in 90.30spytest -n 0 tests/run_agent/test_long_context_tier_429.py15 passed in 0.14sFixes #6475