please replace "⚠ Selected model is at capacity. Please try a different model." with a backoff algorithm

Open
#33,661 4 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
55/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
rust
Domain
cli

Research direction

Start by locating the CLI code that emits "Selected model is at capacity" and trace how that condition currently stops the flow. Check the existing retry and error-handling tests, then verify that capacity errors retry after 2, 4, and 8 minutes rather than stopping immediately, with the completed behavior covered by tests.

Written by the indexing model from the issue text.

Description

CLI enhancement rate-limits
What variant of Codex are you using?

CLI

What feature would you like to see?

Currently the behavior is when "⚠ Selected model is at capacity. Please try a different model." is sent it just stops. However it would be nice to have a backoff approach where after it gets that alert it retries in 2 minutes then 4 minutes, then 8 minutes etc. The reason being that most of these are very transient capacity issue not worth stopping the flow outright.

Additional information

No response

Dominant language
Rust
Stars
125k
Forks
19.5k
Avg merge
1m
Merged PRs (30d)
1k

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from openai/codex

All issues in openai/codex

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.