We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 082b25b commit 0764c1eCopy full SHA for 0764c1e
1 file changed
.github/scripts/enhance-commits.js
@@ -32,7 +32,7 @@ try {
32
throw new Error('GEMINI_API_KEY environment variable is not set.');
33
}
34
const genAI = new GoogleGenerativeAI(process.env.GEMINI_API_KEY);
35
- model = genAI.getGenerativeModel({ model: 'gemini-2.5-flash-preview-04-17' }); // Change to a version now supported.
+ model = genAI.getGenerativeModel({ model: 'gemini-2.5-flash' }); // Change to a version now supported.
36
log('info', 'Gemini API initialized successfully.');
37
} catch (error) {
38
log('error', 'Failed to initialize Gemini API', { error: error.message });
@@ -731,4 +731,4 @@ main().catch(error => {
731
stack: error.stack
732
});
733
process.exit(1);
734
-});
+});
0 commit comments