CommandCodeAI / CommandCodeAI/command-code
Upgrade usage left message threshold too low
まだ誰も着手していません。
- 主要言語
- 言語のデータがありません
- スター
- 4k
- フォーク
- 350
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
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
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
調査の方向性
まず、Command Code 0.44.1で50%のしきい値を報告する使用量アラートを見つけ、しきい値がすでに設定可能かどうかを確認します。デフォルト値を80–90%に変更するべきか、設定オプションを追加するべきかを判断し、その後、アラートが早すぎるタイミングで発生しなくなったことを確認します。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- cli
- 領域
- cli
- issue の種類
- 機能追加
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 52/100