Enable large tool results to disk by default (#3656)

This commit is contained in:
Isidor Nikolic
2026-02-17 03:27:40 +01:00
committed by GitHub
parent 8ddd2a06e5
commit fd9dc3344f
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -4268,7 +4268,7 @@
},
"github.copilot.chat.agent.largeToolResultsToDisk.enabled": {
"type": "boolean",
"default": false,
"default": true,
"markdownDescription": "%github.copilot.config.agent.largeToolResultsToDisk.enabled%",
"tags": [
"advanced",
@@ -712,7 +712,7 @@ export namespace ConfigKey {
* When enabled, large tool results (above the threshold in bytes) are written to disk
* instead of being included directly in the prompt. This helps manage context window usage.
*/
export const LargeToolResultsToDiskEnabled = defineSetting<boolean>('chat.agent.largeToolResultsToDisk.enabled', ConfigType.ExperimentBased, false);
export const LargeToolResultsToDiskEnabled = defineSetting<boolean>('chat.agent.largeToolResultsToDisk.enabled', ConfigType.ExperimentBased, true);
/**
* The size threshold in bytes above which tool results are written to disk.
* Only applies when LargeToolResultsToDiskEnabled is true.