github / github/copilot-sdk

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

オープン
#1,788 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
question
主要言語
Java
スター
10.5k
フォーク
1.5k
平均マージ
1日 11時間
マージ済み PR(30日)
128

説明

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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
csharp
領域
api
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
58/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。