Skip to content

Upgrade usage left message threshold too low #560

Description

@dthyresson

Summary

I think that the “:warning: 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    No fields configured for Bug.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions