CommandCodeAI / CommandCodeAI/command-code
Upgrade usage left message threshold too low
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 4k
- Forks
- 350
- PR merge metrics
- No merged PRs in 30d
Description
Summary
I think that the “⚠️ 53% of plan credits used (70.2 remaining). Upgrade: https://commandcode.ai/billing” is too soon.
When used "expensive" models, the 50% threshold was fine as usage and costs jumped fast.
But, with open models, this isn't case. Maybe 80-90% threshold is better - or better yesterday configure the usage alert threshold in config?
Expected Behavior
Not to alert too early.
Actual Behavior
Alerts a bit too soon.
Steps to reproduce the issue
Get to 50% threshold and start new session.
Command Code Version
0.44.1
Operating System
macOS
Terminal/IDE
ghostty
Shell
zsh
Additional context
No response
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start by locating the usage alert that reports the 50% threshold in Command Code 0.44.1 and check whether the threshold is already configurable. Decide whether the default should move to 80–90% or a configuration option should be added, then verify the alert no longer triggers too early.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cli
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100