From fd9dc3344fb2df3feadfbdcd23f07c7c1f3db8df Mon Sep 17 00:00:00 2001 From: Isidor Nikolic Date: Tue, 17 Feb 2026 03:27:40 +0100 Subject: [PATCH] Enable large tool results to disk by default (#3656) --- extensions/copilot/package.json | 2 +- .../src/platform/configuration/common/configurationService.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/copilot/package.json b/extensions/copilot/package.json index eccebb4cac9..2ba943c19da 100644 --- a/extensions/copilot/package.json +++ b/extensions/copilot/package.json @@ -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", diff --git a/extensions/copilot/src/platform/configuration/common/configurationService.ts b/extensions/copilot/src/platform/configuration/common/configurationService.ts index c9a7de90285..ddba062e8ef 100644 --- a/extensions/copilot/src/platform/configuration/common/configurationService.ts +++ b/extensions/copilot/src/platform/configuration/common/configurationService.ts @@ -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('chat.agent.largeToolResultsToDisk.enabled', ConfigType.ExperimentBased, false); + export const LargeToolResultsToDiskEnabled = defineSetting('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.