fix: Add apiProvider and oepnRouterModelId to tests for consistency

This commit is contained in:
Dennise Bartlett 2025-12-19 10:34:34 +00:00
parent fe565781b6
commit 8686643679
2 changed files with 3 additions and 1 deletions

View file

@ -429,7 +429,7 @@ function validateInput(input) {
alwaysAllowReadOnlyOutsideWorkspace: true,
toolProtocol: "native", // Enable native tool calling
apiProvider: "openrouter", // Use OpenRouter provider
apiModelId: "openai/gpt-5.1", // GPT-5.1 supports native tools
openRouterModelId: "openai/gpt-5.1", // GPT-5.1 supports native tools
},
text: `Use apply_diff on the file ${testFile.name} to change "Hello World" to "Hello Universe". The file already exists with this content:
${testFile.content}

View file

@ -234,6 +234,8 @@ function validateInput(input) {
alwaysAllowWrite: true,
alwaysAllowReadOnly: true,
alwaysAllowReadOnlyOutsideWorkspace: true,
apiProvider: "openrouter", // Use OpenRouter provider
openRouterModelId: "openai/gpt-5.1", // GPT-5.1 supports native tools
},
text: `Use apply_diff on the file ${testFile.name} to change "Hello World" to "Hello Universe". The file already exists with this content:
${testFile.content}\nAssume the file exists and you can modify it directly.`,