github / github/copilot-cli

excessive sequential tool calls instead of batching

オープン
#2,983 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
area:agents area:tools
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
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回以内のツール呼び出しで生成された1つのPythonスクリプトにまとめて取得できることです。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
python
領域
cli, performance
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
45/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。