pass GEMINI_MODEL and OPENCODE_MODEL vars through CI and Docker

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Colin McDonnell
2026-02-14 02:33:00 +00:00
committed by pullfrog[bot]
parent 8a64742ddf
commit 0e1f1ccbb7
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -37,6 +37,8 @@ jobs:
CURSOR_API_KEY: ${{ secrets.CURSOR_API_KEY }}
GOOGLE_API_KEY: ${{ secrets.GOOGLE_API_KEY }}
GEMINI_API_KEY: ${{ secrets.GEMINI_API_KEY }}
GEMINI_MODEL: ${{ vars.GEMINI_MODEL }}
OPENCODE_MODEL: ${{ vars.OPENCODE_MODEL }}
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
+1
View File
@@ -120,6 +120,7 @@ const testEnvAllowList = new Set([
"GOOGLE_GENERATIVE_AI_API_KEY",
"CURSOR_API_KEY",
"OPENCODE_MODEL", // override OpenCode model (e.g. google/gemini-3-flash-preview) for tests or user preference
"GEMINI_MODEL", // override Gemini model (e.g. gemini-3-pro-preview) for tests or user preference
"LOG_LEVEL",
"DEBUG",
"NODE_ENV",