GitHub Copilot CLI session appeared to continue consuming AI credits after all visible tasks were completed.
还没有人认领这个 Issue。
- 主要语言
- Shell
- 星标
- 11.2k
- 派生
- 1.9k
- 平均合并
- 14 小时 16 分钟
- 30 天内合并 PR
- 6
描述
Summary
GitHub Copilot CLI session appeared to continue consuming AI credits after all visible tasks were completed.
Environment
- GitHub Copilot CLI version: 1.0.75
- Mode: Interactive CLI session
- Session limit enabled: No
- Observed behavior: Session showed approximately 97.8% AI credit usage after the visible tasks completed. No further user prompts or interactions were made. Later, the session reached 100%.
Expected behavior
After all visible tasks are complete and no user interaction occurs, AI credit usage should either remain stable or the CLI should clearly indicate that background work is still running and consuming credits.
Actual behavior
The session moved from approximately 97.8% to 100% without additional user interaction.
Question
Is this expected due to final response accounting, subagent completion, or background compaction? If so, can the CLI expose clearer status so users can distinguish between:
- truly idle waiting-for-input state, and
- background/session-finalization work that may still consume AI credits?
Supporting context
GitHub documentation says session limits include model calls, subagents, and background work like compaction, and that session limits are soft caps because usage is only known after a response returns.
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
调研方向
首先使用交互式会话在 GitHub Copilot CLI 1.0.75 中复现该行为,然后在可见任务完成且没有进一步提示后监控 credit 使用情况。将观察到的转换与文档中对模型调用、subagents 和后台压缩的处理进行比较;完成意味着任务后的使用情况得到解释,并且能够清楚地区分空闲状态或后台状态。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- github, shell
- 领域
- ai, cli
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100