chore: update integration tests to use gpt-5-mini instead of gpt-4.1

This commit is contained in:
Roo Code 2026-01-06 22:43:38 +00:00
parent 503f40241d
commit 09d38ec0ff
3 changed files with 4 additions and 4 deletions

View file

@ -19,7 +19,7 @@ export async function run() {
await api.setConfiguration({
apiProvider: "openrouter" as const,
openRouterApiKey: process.env.OPENROUTER_API_KEY!,
openRouterModelId: "openai/gpt-4.1",
openRouterModelId: "openai/gpt-5-mini",
})
await vscode.commands.executeCommand("roo-cline.SidebarProvider.focus")

View file

@ -19,7 +19,7 @@ describe("copyRun", () => {
beforeEach(async () => {
const run = await createRun({
model: "gpt-4.1-mini",
model: "gpt-5-mini",
socketPath: "/tmp/roo.sock",
description: "Test run for copying",
concurrency: 4,
@ -179,7 +179,7 @@ describe("copyRun", () => {
})
expect(copiedRun).toBeDefined()
expect(copiedRun!.model).toBe("gpt-4.1-mini")
expect(copiedRun!.model).toBe("gpt-5-mini")
expect(copiedRun!.description).toBe("Test run for copying")
expect(copiedRun!.concurrency).toBe(4)
expect(copiedRun!.passed).toBe(2)

View file

@ -4,7 +4,7 @@ import { createTaskMetrics } from "../taskMetrics.js"
describe("finishRun", () => {
it("aggregates task metrics, including tool usage", async () => {
const run = await createRun({ model: "gpt-4.1-mini", socketPath: "/tmp/roo.sock" })
const run = await createRun({ model: "gpt-5-mini", socketPath: "/tmp/roo.sock" })
await createTask({
runId: run.id,