From 7eb0c346c8512186412473678fa239937afdf0c8 Mon Sep 17 00:00:00 2001 From: Dennise Bartlett Date: Sat, 20 Dec 2025 01:05:26 +0000 Subject: [PATCH] fix: Update to models that can pass these tests. --- apps/vscode-e2e/src/suite/tools/apply-diff-native.test.ts | 4 ++-- apps/vscode-e2e/src/suite/tools/apply-diff.test.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/vscode-e2e/src/suite/tools/apply-diff-native.test.ts b/apps/vscode-e2e/src/suite/tools/apply-diff-native.test.ts index 2e26a927bd..41c2468537 100644 --- a/apps/vscode-e2e/src/suite/tools/apply-diff-native.test.ts +++ b/apps/vscode-e2e/src/suite/tools/apply-diff-native.test.ts @@ -780,8 +780,8 @@ Assume the file exists and you can modify it directly.`, alwaysAllowReadOnlyOutsideWorkspace: true, reasoningEffort: "none", toolProtocol: "native", // Enable native tool calling - apiProvider: "openrouter", // Use OpenRouter provider - openRouterModelId: "openai/gpt-5.1", // GPT-5.1 supports native tools + apiProvider: "openrouter", + openRouterModelId: "openai/gpt-5.1", }, text: ` --- diff --git a/apps/vscode-e2e/src/suite/tools/apply-diff.test.ts b/apps/vscode-e2e/src/suite/tools/apply-diff.test.ts index 5dff73dcd5..3b55d09490 100644 --- a/apps/vscode-e2e/src/suite/tools/apply-diff.test.ts +++ b/apps/vscode-e2e/src/suite/tools/apply-diff.test.ts @@ -588,8 +588,8 @@ ${testFile.content}\nAssume the file exists and you can modify it directly.`, alwaysAllowWrite: true, alwaysAllowReadOnly: true, alwaysAllowReadOnlyOutsideWorkspace: true, - apiProvider: "openrouter", // Use OpenRouter provider - openRouterModelId: "openai/gpt-5.1", // GPT-5.1 supports native tools + apiProvider: "openrouter", + openRouterModelId: "anthropic/claude-sonnet-4.5", }, text: `Use apply_diff on the file ${testFile.name} to find and replace the text "PATTERN_THAT_DOES_NOT_EXIST_xyz123" with "REPLACEMENT_xyz123".