Show AI credit consumption per automation run
- 主要言語
- 言語のデータがありません
- スター
- 2.1k
- フォーク
- 153
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
### Feature summary
Surface AI credits (and token counts) consumed by each automation run in the GitHub Copilot app.
### What problem are you trying to solve?
Automations can be triggered frequently and run unattended, but the app does not show what an individual run consumed.
Run frequency is the main decision I have to make when setting up an automation, and cost per run is the input I need to make it. A run that costs 20 AI credits and a run that costs 400 AI credits imply completely different schedules. Today the only way to find out is to enable the automation, watch the total bill move, and reverse-engineer the per-run cost.
The practical result is that I under-use automations, because running them at a useful frequency feels like an unbounded financial risk.
### Proposed solution
- Show AI credits consumed for each run in the run detail view, alongside duration and status. Token counts per model would be a useful addition, but credits are the figure that maps to cost.
- Add a usage column to the automation's run history so runs can be compared at a glance.
- Show aggregate figures per automation: total and average credits per run over a selectable period (e.g. last 7/30 days), so the monthly cost of a given schedule can be projected.
### Workflow impact
Affects anyone running automations on a schedule or a frequent trigger, particularly individual users and small teams on usage-based billing where spend is directly visible.
With per-run cost visible, choosing a trigger frequency becomes an informed decision instead of a guess. It also makes it possible to spot an automation whose cost has drifted upward after a prompt or repository change.
### Installation context
_No response_
### Additional context
_No response_
コントリビューションガイド
調査の方向性
ファイル、テスト、またはエントリポイントは指定されていません。まず、自動化実行の詳細、実行履歴、集計された使用量のビューを見つけ、各実行で利用できるデータを追跡します。完了条件は、実行ごとのクレジットが表示され、オプションでトークン数と、選択した期間の合計値および平均値が表示されることです。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- github
- 領域
- analytics, desktop
- issue の種類
- 機能追加
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 活発さ
- 静か
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 38/100