switch test default models to gemini-2.5-pro
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
committed by
pullfrog[bot]
parent
4789a2b5e3
commit
b753c67d0a
+2
-2
@@ -313,12 +313,12 @@ async function runTestForAgent(ctx: RunContext): Promise<ValidationResult> {
|
|||||||
|
|
||||||
// opencode: override to google/gemini-3-pro-preview to avoid flash's tight RPD quota limits
|
// opencode: override to google/gemini-3-pro-preview to avoid flash's tight RPD quota limits
|
||||||
if (ctx.agent === "opencode") {
|
if (ctx.agent === "opencode") {
|
||||||
env.OPENCODE_MODEL ??= "google/gemini-3-pro-preview";
|
env.OPENCODE_MODEL ??= "google/gemini-2.5-pro";
|
||||||
}
|
}
|
||||||
|
|
||||||
// gemini: override to 2.5-flash for all tests (including mini-effort) to avoid quota limits
|
// gemini: override to 2.5-flash for all tests (including mini-effort) to avoid quota limits
|
||||||
if (ctx.agent === "gemini") {
|
if (ctx.agent === "gemini") {
|
||||||
env.GEMINI_MODEL ??= "gemini-2.5-flash";
|
env.GEMINI_MODEL ??= "gemini-2.5-pro";
|
||||||
}
|
}
|
||||||
|
|
||||||
// build file-based env vars for MCP servers that don't inherit parent env
|
// build file-based env vars for MCP servers that don't inherit parent env
|
||||||
|
|||||||
Reference in New Issue
Block a user