Skip to content

fix: differentiate server overload cooldown, add error classifier rules - #15232

Closed
geminiyubing-jpg wants to merge 1 commit into
NousResearch:mainfrom
geminiyubing-jpg:fix/credential-pool-error-classifier
Closed

fix: differentiate server overload cooldown, add error classifier rules#15232
geminiyubing-jpg wants to merge 1 commit into
NousResearch:mainfrom
geminiyubing-jpg:fix/credential-pool-error-classifier

Conversation

@geminiyubing-jpg

Copy link
Copy Markdown

Summary

  • credential_pool: Differentiate server overload cooldown from rate-limit cooldown for more precise backoff handling
  • error_classifier: Add new error classification patterns to improve failover decision-making
  • tests: Add corresponding test cases for error classifier

Test plan

  • Run pytest tests/agent/test_error_classifier.py
  • Verify credential pool cooldown logic handles server overload vs rate-limit correctly

🤖 Generated with Claude Code

- credential_pool: separate server overload cooldown from rate-limit cooldown
- error_classifier: add new error classification patterns for better failover
- tests: add corresponding test cases

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
@alt-glitch alt-glitch added type/bug Something isn't working P1 High — major feature broken, no workaround comp/agent Core agent runtime: loop, agent_init, prompt builder, context-compression, responses endpoint labels Apr 24, 2026
@alt-glitch

Copy link
Copy Markdown
Collaborator

Multiple open PRs fix the same issue (#14038): this PR, #14788, and #14055. Maintainers should pick one.

@teknium1

Copy link
Copy Markdown
Contributor

Automated hermes-sweeper review: this PR's core fix is already implemented on current main.

Evidence:

The prior maintainer note that several PRs overlapped on #14038 was accurate; main has since taken a later fix for that behavior.

@teknium1 teknium1 closed this Jun 29, 2026
@teknium1 teknium1 added the sweeper:implemented-on-main Sweeper: behavior already present on current main label Jun 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/agent Core agent runtime: loop, agent_init, prompt builder, context-compression, responses endpoint P1 High — major feature broken, no workaround sweeper:implemented-on-main Sweeper: behavior already present on current main type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants