Setting `LargeOutput` doesn't seem to have any effect
- Lingua principale
- Java
- Stelle
- 10.5k
- Fork
- 1.5k
- Merge medio
- 1g 11h
- PR unite (30g)
- 128
Descrizione
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,
}
```
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- csharp
- Ambito
- api
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 58/100