anomalyco / anomalyco/opencode
[FEATURE]: Improve Auto Router Error Messaging and Model Status Indicators
Open
@jlongster is already working on this.
Since Sep 8, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Feature hasn't been suggested before.
- I have verified this feature I'm about to request hasn't been suggested before.
Describe the enhancement you want to request
When using Auto Routers, the current error message from the provider console is not sufficiently informative:
Error from provider (Console): Upstream request failed: [rate_limit_exceeded] Ra...
This message does not help users understand which model the Auto Router attempted to connect to, nor does it provide retry context.
Proposed Improvements
- Detailed Retry Messaging
- Replace vague error output with structured retry information.
Example format:
Trying ModelName (free) ... Attempt #1 Retry in 30s
This allows users to see which model is being attempted and the retry schedule.
Expired Token Highlighting
- In the model list UI, change the font color to red for models where token usage has expired.
- This provides immediate visual feedback so users can manually select valid models without trial and error.
Benefits
- Clearer visibility into Auto Router behavior.
- Faster troubleshooting when rate limits or token expirations occur.
- Improved user experience by reducing ambiguity in error handling.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.