[bug]copilot-cli bug report: One prompt triggered autopilot mode infinite loop
未关闭
area:agents
area:tools
- 主要语言
- Shell
- 星标
- 11.2k
- 派生
- 1.9k
- 平均合并
- 14 小时 16 分钟
- 30 天内合并 PR
- 6
描述
### Describe the bug
After completing a simple task, copilot is unable to stop itself, continuous loop trying to call a "task_complete" tool which does not exist,it used up all my credit limit at once.
### Affected version
_No response_
### Steps to reproduce the behavior
_No response_
### Expected behavior
_No response_
### Additional context
_No response_
贡献指南
调研方向
首先在 copilot-cli 中复现报告的 autopilot 模式循环,并以屏幕截图和重复的 "task_complete" 工具调用作为故障线索。跟踪 autopilot 的完成路径,并验证一个简单完成的任务会停止,而不会反复调用不存在的工具或消耗更多 credits。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- shell
- 领域
- cli
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 冷清
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100