excessive sequential tool calls instead of batching
- 主要语言
- Shell
- 星标
- 11.2k
- 派生
- 1.9k
- 平均合并
- 14 小时 16 分钟
- 30 天内合并 PR
- 6
描述
### Describe the bug
When analyzing a 1.8MB JSON file with over 150 records, Copilot made 7+ separate tool calls across multiple rounds to extract data that could have been gathered in a single Python script
### Affected version
_No response_
### Steps to reproduce the behavior
Repro Steps:
1. Open Copilot CLI and point it at a JSON file
2. Ask: "Read and parse this file, extract fields a b c d e, and create categories from the data."
3. Count the number of separate tool calls Copilot makes before it has all the data it needs.
### Expected behavior
Copilot should generate a single Python script that parses the JSON, extracts all relevant fields, and outputs a consolidated summary. This should require 1-2 tool calls at most
### Additional context
_No response_
贡献指南
调研方向
首先,使用一个包含超过150条记录和所述提取请求的1.8MB JSON文件,在Copilot CLI中复现该行为,然后追踪其工具调用在哪里进行协调。完成标准是:该请求通过不超过1-2次工具调用,在一个生成的Python脚本中收集所需的字段和类别。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- python
- 领域
- cli, performance
- Issue 类型
- 缺陷
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 45/100