Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion genai/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"test": "c8 mocha -p -j 2 --timeout 2400000 test/*.test.js test/**/*.test.js"
},
"dependencies": {
"@google/genai": "^0.13.0",
"@google/genai": "1.12.0",
"axios": "^1.6.2",
"supertest": "^7.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion genai/text-generation/textgen-with-txt-img.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ async function generateContent(
};

const response = await ai.models.generateContent({
model: 'gemini-2.5-flash',
model: 'gemini-2.0-flash',
Comment thread
Guiners marked this conversation as resolved.
Outdated
contents: [image, 'What is shown in this image?'],
});

Expand Down
2 changes: 1 addition & 1 deletion genai/tools/tools-code-exec-with-txt.js
Comment thread
Guiners marked this conversation as resolved.
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ async function generateContent(
});

const response = await ai.models.generateContent({
model: 'gemini-2.5-flash-preview-05-20',
model: 'gemini-2.0-flash',
Comment thread
Guiners marked this conversation as resolved.
Outdated
contents:
'What is the sum of the first 50 prime numbers? Generate and run code for the calculation, and make sure you get all 50.',
config: {
Expand Down