refactor(genai/labels): replace vertexai.generative_models with genai#14450
refactor(genai/labels): replace vertexai.generative_models with genai#14450XrossFox wants to merge 3 commits into
Conversation
Update the codebase to use the new `genai` SDK replacement for all legacy `vertexai.generative_models` imports and usage.
There was a problem hiding this comment.
Code Review
This pull request introduces a new Python example demonstrating how to set labels when generating content with the google-genai SDK, along with associated tests and configuration files. Feedback is provided to correct a non-existent version of google-genai in requirements.txt, expand test coverage by not ignoring stable Python versions (3.11, 3.12, 3.13) in noxfile_config.py, and strengthen the test assertion to verify that response.text is returned.
|
Here is the summary of changes. You are about to add 1 region tag.
This comment is generated by snippet-bot.
|


Description
Update the codebase to use the new
genaiSDK replacement for all legacyvertexai.generative_modelsimports and usage.Fixes b/537370586
Checklist
Testing
Compliance & Style
Post-Approval Actions