github / github/copilot-cli

excessive sequential tool calls instead of batching

未關閉
#2,983 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
area:agents area:tools
主要語言
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_

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。