github / github/copilot-sdk

Setting `LargeOutput` doesn't seem to have any effect

Abierto
#1,788 2 comentarios 0 reacciones 0 asignados Ver en GitHub
question
Lenguaje dominante
Java
Estrellas
10.5k
Forks
1.5k
Merge medio
1 d 11 h
PR fusionados (30 d)
128

Descripción

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,
}
```

Guía de contribución

Abrir la guía de contribución

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
csharp
Área
api
Tipo de issue
Error
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Tranquilo
Claridad
Bastante claro
Aptitud para principiantes
58/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.