[BUG] /rate-limit-options infinite print out
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
<img width="695" height="773" alt="Image" src="https://github.com/user-attachments/assets/7dcc29d5-aa90-4a51-8fb6-f502bc40a350" />
Last session my cc went on its own into an infinite loop printing out /rate-limit-options over and over. I had to kill the process completely as it was ignoring Ctrl+C.
This session, I hit my rate limit. Chose the option to wait for reset. Found a hanging background node process started by claude and killed it. And it went bananas. But I had time to kill it before it went too far.
What Should Happen?
It should not print this message over and over in an infinite loop
Error Messages/Logs
❯ /rate-limit-options
/rate-limit-options
/rate-limit-options
/rate-limit-options
/rate-limit-options
⎿ You've hit your limit · resets 12am (Europe/Warsaw)
❯ /rate-limit-options
/rate-limit-options
/rate-limit-options
/rate-limit-options
/rate-limit-options
/rate-limit-options
/rate-limit-options
⎿ Interrupted · What should Claude do instead?
❯ /rate-limit-options
/rate-limit-options
/rate-limit-options
/rate-limit-options
⎿ You've hit your limit · resets 12am (Europe/Warsaw)
❯ /rate-limit-options
Steps to Reproduce
Hard to guess. Perhaps, make it run out of quota while it had ran some background process. For me it was ng serve as it was doing some Chrome MCP testing. Then, I moved it to planning mode where it hit its limits.
Claude Model
Opus
Is this a regression?
Yes, this worked in a previous version
Last Working Version
2.0.76 or somewhere before minor update
Claude Code Version
2.1.12
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
IntelliJ IDEA terminal
Additional Information
_No response_
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗