github / github/copilot-cli

Output produced exceeding its own read limits

未關閉
#3,008 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
area:tools
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
6

描述

### Describe the bug

Copilot generated python commands that printed >150 items from a json with a bunch of fields. This caused output to be redirected to a temp file which then required 5 additional read calls to fully consume.

### Affected version

GitHub Copilot CLI 1.0.36

### Steps to reproduce the behavior

1. Open Copilot CLI with a JSON file containing 100+ records.
2. Ask Copilot to extract and display a summary of all records.
3. Observe the Python command Copilot generates.
4. Check whether the output exceeds the tool's display limit.

### Expected behavior

Copilot should estimate the output size before generating the command. For numerous (150+ json objects) copilot should have the brains to paginate

### Additional context

_No response_

貢獻指南

開啟貢獻指南

研究方向

Start by reproducing the issue in Copilot CLI 1.0.36 with a JSON file containing 100+ records and an extraction request that produces more than 150 items. Inspect how generated Python command output is handled relative to the tool's display limit; done means large results are paginated or otherwise kept within that limit without requiring repeated reads.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
python
領域
cli
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
冷清
描述清晰度
基本清楚
新手友好度
45/100

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

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