CommandCodeAI / CommandCodeAI/command-code

Upgrade usage left message threshold too low

Open
#560 1 comment 0 reactions 0 assignees View on GitHub

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

  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.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.