[PR #5527] feat: add server_error, rate_limit, and no_kv_space retry logic to accommodate Foundry API issues #11454

Closed
opened 2026-02-16 18:16:17 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/5527

State: closed
Merged: Yes


Adds more granular error handling to session retry logic:

  • Rate limit errors - returns "Rate Limited"
  • KV cache full errors - returns "KV Cache Full"
  • Server errors - returns "Server Error"

Not sure if this would have side effects for other providers

Closes #5526

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/5527 **State:** closed **Merged:** Yes --- Adds more granular error handling to session retry logic: * Rate limit errors - returns "Rate Limited" * KV cache full errors - returns "KV Cache Full" * Server errors - returns "Server Error" Not sure if this would have side effects for other providers Closes #5526
yindo added the pull-request label 2026-02-16 18:16:17 -05:00
yindo closed this issue 2026-02-16 18:16:17 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11454