refactor(gnerative-ai): migrate batch 2 generative-ai samples to @google/genai#4331
refactor(gnerative-ai): migrate batch 2 generative-ai samples to @google/genai#4331angelcaamal wants to merge 2 commits into
Conversation
There was a problem hiding this comment.
Code Review
This pull request migrates several Gemini Node.js snippets from the legacy @google-cloud/vertexai SDK to the new @google/genai SDK, updating the default model to gemini-2.5-flash and enabling the corresponding test suites. Feedback was provided on gemini-translate.test.js to add a fallback value for process.env.LOCATION to prevent test failures when the environment variable is not set.
|
Here is the summary of changes. You are about to add 1 region tag.
You are about to delete 1 region tag.
This comment is generated by snippet-bot.
|
amcolin
left a comment
There was a problem hiding this comment.
Changes look solid to me!
Description
Fixes Internal: b/519970318
Note: Before submitting a pull request, please open an issue for discussion if you are not associated with Google.
Checklist
npm test(see Testing)npm run lint(see Style)GoogleCloudPlatform/nodejs-docs-samples. Not a fork.