From 4789a2b5e367ff821d7fa823e8b8b15ce2fbd729 Mon Sep 17 00:00:00 2001 From: Colin McDonnell Date: Sat, 14 Feb 2026 02:49:13 +0000 Subject: [PATCH] respect GEMINI_MODEL and OPENCODE_MODEL env vars in test runner Co-authored-by: Cursor --- test/run.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/run.ts b/test/run.ts index 45893ee..aaedd20 100644 --- a/test/run.ts +++ b/test/run.ts @@ -316,9 +316,9 @@ async function runTestForAgent(ctx: RunContext): Promise { env.OPENCODE_MODEL ??= "google/gemini-3-pro-preview"; } - // gemini: override to pro for all tests (including mini-effort) to avoid flash's tight RPD quota limits + // gemini: override to 2.5-flash for all tests (including mini-effort) to avoid quota limits if (ctx.agent === "gemini") { - env.GEMINI_MODEL ??= "gemini-3-pro-preview"; + env.GEMINI_MODEL ??= "gemini-2.5-flash"; } // build file-based env vars for MCP servers that don't inherit parent env