Skip to content

Commit d58b588

Browse files
author
Guiners
committed
bumping version and fixing tests
1 parent 165b528 commit d58b588

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

genai/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"test": "c8 mocha -p -j 2 --timeout 2400000 test/*.test.js test/**/*.test.js"
1414
},
1515
"dependencies": {
16-
"@google/genai": "^0.13.0",
16+
"@google/genai": "1.12.0",
1717
"axios": "^1.6.2",
1818
"supertest": "^7.0.0"
1919
},

genai/text-generation/textgen-with-txt-img.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ async function generateContent(
3838
};
3939

4040
const response = await ai.models.generateContent({
41-
model: 'gemini-2.5-flash',
41+
model: 'gemini-2.0-flash',
4242
contents: [image, 'What is shown in this image?'],
4343
});
4444

genai/tools/tools-code-exec-with-txt.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ async function generateContent(
3131
});
3232

3333
const response = await ai.models.generateContent({
34-
model: 'gemini-2.5-flash-preview-05-20',
34+
model: 'gemini-2.0-flash',
3535
contents:
3636
'What is the sum of the first 50 prime numbers? Generate and run code for the calculation, and make sure you get all 50.',
3737
config: {

0 commit comments

Comments
 (0)