github / github/copilot-cli

Output produced exceeding its own read limits

Offen
#3,008 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
area:tools
Vorherrschende Sprache
Shell
Sterne
11.2k
Forks
1.9k
Ø Merge
14 Std. 16 Min.
Gemergte PRs (30 T.)
6

Beschreibung

### 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_

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Beginne damit, das Problem in Copilot CLI 1.0.36 mit einer JSON-Datei zu reproduzieren, die mehr als 100 Datensätze enthält, und einer Extraktionsanfrage, die mehr als 150 Elemente erzeugt. Untersuche, wie die Ausgabe generierter Python-Befehle im Verhältnis zum Anzeigelimit des Tools verarbeitet wird; abgeschlossen ist die Aufgabe, wenn große Ergebnisse paginiert oder anderweitig innerhalb dieses Limits gehalten werden, ohne wiederholte Lesevorgänge zu erfordern.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
python
Bereich
cli
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Ruhig
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
45/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.