Skip to content

build(vertexai): add google-genai>=1.69.0 version floor#5455

Merged
leseb merged 1 commit intollamastack:mainfrom
major:vertexai-genai-version-pin
Apr 9, 2026
Merged

build(vertexai): add google-genai>=1.69.0 version floor#5455
leseb merged 1 commit intollamastack:mainfrom
major:vertexai-genai-version-pin

Conversation

@major
Copy link
Copy Markdown
Contributor

@major major commented Apr 6, 2026

What does this PR do?

Adds a minimum version constraint (>=1.69.0) to the google-genai dependency in pyproject.toml. The vertexai provider depends on GenerateContentConfig.service_tier which was introduced in v1.69.0.

Closes #5454

Test Plan

No functional changes. Verified the lockfile re-resolves cleanly:

uv lock

Output:

Resolved 377 packages in 2.69s

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Meta Open Source bot. label Apr 6, 2026
Copy link
Copy Markdown
Collaborator

@mattf mattf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also src/llama_stack/providers/registry/inference.py

@major
Copy link
Copy Markdown
Contributor Author

major commented Apr 6, 2026

Forgot that spot! I'll go back and change it.

The vertexai provider depends on GenerateContentConfig.service_tier
which was introduced in google-genai v1.69.0. Pin the minimum version
to prevent installation of older SDK versions that lack this field.

Signed-off-by: Major Hayden <major@mhtx.net>
@major major force-pushed the vertexai-genai-version-pin branch from 6438f6e to d7566ef Compare April 6, 2026 18:20
@leseb leseb added this pull request to the merge queue Apr 9, 2026
Merged via the queue into llamastack:main with commit 4cbeb30 Apr 9, 2026
98 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Meta Open Source bot.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add google-genai version floor pin for vertexai provider

3 participants