From ee092dc172dad51e25b2d6507493b5fd10e8e3af Mon Sep 17 00:00:00 2001 From: Sehoon Shon Date: Tue, 31 Mar 2026 10:57:41 -0400 Subject: [PATCH] test(utils): use flash model for integration tests in test-rig --- packages/test-utils/src/test-rig.ts | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/packages/test-utils/src/test-rig.ts b/packages/test-utils/src/test-rig.ts index 734c1b9546..0dc4646dd8 100644 --- a/packages/test-utils/src/test-rig.ts +++ b/packages/test-utils/src/test-rig.ts @@ -11,7 +11,10 @@ import { join, dirname } from 'node:path'; import { fileURLToPath } from 'node:url'; import { env } from 'node:process'; import { setTimeout as sleep } from 'node:timers/promises'; -import { PREVIEW_GEMINI_MODEL, GEMINI_DIR } from '@google/gemini-cli-core'; +import { + PREVIEW_GEMINI_FLASH_MODEL, + GEMINI_DIR, +} from '@google/gemini-cli-core'; export { GEMINI_DIR }; import * as pty from '@lydell/node-pty'; import stripAnsi from 'strip-ansi'; @@ -457,7 +460,7 @@ export class TestRig { ...(env['GEMINI_TEST_TYPE'] === 'integration' ? { model: { - name: PREVIEW_GEMINI_MODEL, + name: PREVIEW_GEMINI_FLASH_MODEL, }, } : {}),