Setting `LargeOutput` doesn't seem to have any effect
- Vorherrschende Sprache
- Java
- Sterne
- 10.5k
- Forks
- 1.5k
- Ø Merge
- 1 T. 11 Std.
- Gemergte PRs (30 T.)
- 128
Beschreibung
By default, sessions write large outputs to the` $TMP` directory (e.g. `/tmp/1782206406834-copilot-tool-output-s4fxvs.txt`). We tried to set `LargeOutput` to redirect the files to a different directory but it doesn't seem to be change the target directory:
```cs
config.LargeOutput = new LargeToolOutputConfig
{
Enabled = true,
MaxSizeBytes = 2_000,
OutputDirectory = outputDir,
}
```
Beitragsleitfaden
Rechercherichtung
Start by reproducing the C# configuration shown in the issue with a small MaxSizeBytes value and a custom OutputDirectory. Trace how LargeOutput is handled when tool output exceeds that limit and verify which directory receives the file. Done means oversized outputs are written to the configured directory instead of $TMP.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- csharp
- Bereich
- api
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Ruhig
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 58/100