mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-30 12:15:32 +01:00
Enable large tool results to disk by default (#3656)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user