Skip to content

Commit 9a805e6

Browse files
committed
test: add LOCATION fallback and update model to gemini-2.5-flash in translate test
1 parent b4a03b6 commit 9a805e6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

generative-ai/snippets/test/gemini-translate.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const cp = require('child_process');
2020
const execSync = cmd => cp.execSync(cmd, {encoding: 'utf-8'});
2121

2222
const projectId = process.env.CAIP_PROJECT_ID;
23-
const location = process.env.LOCATION;
23+
const location = process.env.LOCATION || 'us-central1';
2424
const model = 'gemini-2.5-flash';
2525

2626
describe('Gemini translate', () => {

0 commit comments

Comments
 (0)