Skip to content

Update google gen ai sdk#27

Merged
herber merged 1 commit into
mainfrom
feat/update-google-gen-ai-sdk
Jun 12, 2026
Merged

Update google gen ai sdk#27
herber merged 1 commit into
mainfrom
feat/update-google-gen-ai-sdk

Conversation

@herber

@herber herber commented Jun 12, 2026

Copy link
Copy Markdown
Member

Note

Low Risk
Packaging and documentation only; no adapter or runtime logic changes in the diff, though consumers must align with the new Google client API in their own code.

Overview
Bumps the SDK to 2.3.3 and swaps the bundled Google client from deprecated google-generativeai to google-genai in pyproject.toml, mainly to drop the old package’s protobuf < 6 pin and ease installs alongside protobuf 6+ stacks.

Docs and release notes follow the new client: the integrations table lists google-genai, and the Gemini README example uses genai.Client, client.chats.create, types.GenerateContentConfig, and reads tool calls from response.candidates[0].content.parts. The changelog notes the Google adapter stays duck-typed and did not import google.generativeai, so existing integration patterns should keep working with either SDK at runtime.

Reviewed by Cursor Bugbot for commit 8179013. Bugbot is set up for automated code reviews on this repo. Configure here.

@herber herber self-assigned this Jun 12, 2026
@herber herber requested a review from RahmeKarim June 12, 2026 15:50
RahmeKarim

This comment was marked as spam.

@herber herber merged commit f71f360 into main Jun 12, 2026
12 checks passed
@herber herber deleted the feat/update-google-gen-ai-sdk branch June 12, 2026 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants