Skip to content

Commit afc5b99

Browse files
Use apply_patch exclusively in msbench (#1163)
* Use apply_patch exclusively in msbench * fire emoji * fire emoji --------- Co-authored-by: Connor Peet <[email protected]>
1 parent 81c99e3 commit afc5b99

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/extension/intents/node/agentIntent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export const getAgentTools = (instaService: IInstantiationService, request: vsco
7676
allowTools[ToolName.ReplaceString] = await modelSupportsReplaceString(model);
7777
allowTools[ToolName.ApplyPatch] = await modelSupportsApplyPatch(model) && !!toolsService.getTool(ToolName.ApplyPatch);
7878

79-
if (allowTools[ToolName.ApplyPatch] && modelCanUseApplyPatchExclusively(model) && configurationService.getExperimentBasedConfig(ConfigKey.Internal.Gpt5ApplyPatchExclusively, experimentationService)) {
79+
if (allowTools[ToolName.ApplyPatch] && modelCanUseApplyPatchExclusively(model)) {
8080
allowTools[ToolName.EditFile] = false;
8181
}
8282

src/platform/configuration/common/configurationService.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -734,7 +734,6 @@ export namespace ConfigKey {
734734

735735
export const VirtualToolEmbeddingRanking = defineExpSetting<boolean>('chat.advanced.virtualTools.embeddingRanking', false, INTERNAL);
736736
export const MultiReplaceStringGrok = defineExpSetting<boolean>('chat.advanced.multiReplaceStringGrok.enabled', false, INTERNAL);
737-
export const Gpt5ApplyPatchExclusively = defineExpSetting<boolean>('chat.advanced.gpt5ApplyPatchExclusively.enabled', false, INTERNAL);
738737

739738
export const EnableClaudeCodeAgent = defineSetting<boolean | string | undefined>('chat.advanced.claudeCode.enabled', false);
740739
export const ClaudeCodeDebugEnabled = defineSetting<boolean>('chat.advanced.claudeCode.debug', false);

0 commit comments

Comments
 (0)