github / github/copilot-cli

Restarting copilot uses AI credits

オープン
#3,886 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る
area:models area:sessions
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

説明

### Describe the bug

Since a while now using `/restart` or `/resume` (also `/update`) consumes non trivial amount of AI credits.

According to my experience there seem to be a somehow fixed amount of 174 AI credits being consumed (not sure where this number comes from). According to https://docs.github.com/de/copilot/concepts/billing/usage-based-billing-for-individuals an AI credit costs 0.01 $ resulting in an amount of 1,74 $ charged for ... nothing!

### Affected version

_No response_

### Steps to reproduce the behavior

- Do some work in copilot cli
- Use `/restart`
- Exit copilot without doing anything
- You see the session used 174 AI credits even though not a single prompt was submitted

### Expected behavior

I can restart/resume without getting charged until actually work is performed!

### Additional context

_No response_

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

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

調査の方向性

Start by tracing the /restart, /resume, and /update command paths in the Copilot CLI and compare them with the billing or credit-usage path. Reproduce the reported session with no prompt, then verify that restarting or resuming consumes no AI credits while normal prompt usage remains accounted for.

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

評価

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

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

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