CommandCodeAI / CommandCodeAI/command-code

Upgrade usage left message threshold too low

オープン
#560 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

主要言語
言語のデータがありません
スター
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

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、Command Code 0.44.1で50%のしきい値を報告する使用量アラートを見つけ、しきい値がすでに設定可能かどうかを確認します。デフォルト値を80–90%に変更するべきか、設定オプションを追加するべきかを判断し、その後、アラートが早すぎるタイミングで発生しなくなったことを確認します。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
cli
領域
cli
issue の種類
機能追加
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
52/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。