mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
chore: update integration tests to use gpt-5-mini instead of gpt-4.1
This commit is contained in:
parent
503f40241d
commit
09d38ec0ff
3 changed files with 4 additions and 4 deletions
|
|
@ -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")
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue