Skip to content

Commit

Permalink
use gemini-2.0-flash model (#865)
Browse files Browse the repository at this point in the history
  • Loading branch information
thatfiredev authored Feb 11, 2025
1 parent 9a3509d commit 9898286
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vertexai/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ async function main() {
// Get a Gemini model
const model = getGenerativeModel(
vertexAI,
{ model: "gemini-1.5-flash" }
{ model: "gemini-2.0-flash" }
);
// Call generateContent with a string or Content(s)
const generateContentResult = await model.generateContent("what is a cat?");
Expand Down

0 comments on commit 9898286

Please # to comment.