GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [Bug]: Model rate limit error causes immediate termination instead of auto-retry · Issue #16994 · anomalyco/opencode

[Bug]: Model rate limit error causes immediate termination instead of auto-retry #16994

New issue
Copy link
New issue
Copy link
Closed
Closed
[Bug]: Model rate limit error causes immediate termination instead of auto-retry#16994
Copy link
Assignees
rekram1-node
Labels
coreAnything pertaining to core functionality of the application (opencode server stuff)

Description

@otto-apoc
otto-apoc
opened on Mar 11, 2026
Issue body actions

Description

When the model provider returns the following rate limit error, opencode terminates the current task immediately instead of retrying automatically:

You have exceeded the request rate limit. Please wait a short period before retrying your request or contact the support to increase your request rate limit.

Expected Behavior

Detect this rate limit response and apply retry-with-backoff logic, similar to what was added for other rate limit cases (see #452). The user should not need to restart their entire task.

Current Behavior

opencode aborts the task immediately upon receiving this error message. There is no retry attempt.

Steps to Reproduce

Trigger a request that causes the model provider to respond with the rate limit message above (e.g. by sending many requests in a short period).

Notes

  • The error string You have exceeded the request rate limit may not be matched by the current retry detection logic, causing it to fall through as a fatal error
  • Related: More resilient retry policy for Amazon Bedrock rate limiting #452 (retry policy), [FEATURE]: Retry: allow user to change "exponential backoff" to "fixed interval" #8769 (configurable backoff interval)

Activity

  1. github-actions
    assigned
    rekram1-node
    on Mar 11, 2026
  2. github-actions
    added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Mar 11, 2026
  3. github-actions commented on Mar 11, 2026

    @github-actions
    github-actionsBot
    on Mar 11, 2026 – with GitHub Actions
    Contributor
    More actions

    This issue might be a duplicate of existing issues. Please check:

    • [Feature]: Auto-retry on MCP tool rate limit instead of terminating #16993: Same error message ("You have exceeded the request rate limit") and same request for auto-retry with backoff — filed by the same author, now closed. This issue may be a continuation or broader version of that one.
    • LLM provider SDK lacks retry logic for transient API errors #11705: Covers the same missing retry/backoff logic for LLM provider SDK transient errors including rate limits.
    • More resilient retry policy for Amazon Bedrock rate limiting #452: The original retry policy issue for rate limiting that is already referenced in this report.
  4. otto-apoc
    closed this as completedon Mar 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @rekram1-node
    rekram1-node

Labels

coreAnything pertaining to core functionality of the application (opencode server stuff)

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.