github / github/copilot-cli

Restarting copilot uses AI credits

未关闭
#3,886 1 条评论 1 个 reaction 已指派 0 人 在 GitHub 查看
area:models area:sessions
主要语言
Shell
星标
11.2k
派生
1.9k
平均合并
14 小时 16 分钟
30 天内合并 PR
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 摘要。