Skip to content

Comments

Migrate to google-genai SDK#174

Open
markmcd wants to merge 1 commit intoposit-dev:mainfrom
markmcd:genai-migro
Open

Migrate to google-genai SDK#174
markmcd wants to merge 1 commit intoposit-dev:mainfrom
markmcd:genai-migro

Conversation

@markmcd
Copy link

@markmcd markmcd commented Jan 21, 2026

Fixes #173

The google-generativeai SDK is deprecated and will emit warnings when imported, plus it does not fully support the most recent models.

This also bumps the version checks to 3.10 to match the SDK.

Additionally, Gemini message responses can be multimodal (e.g. interleaved text/image/audio/etc). For this PR I only looked at text, but it may be useful to include others. Images, audio, etc obviously require UI support but there are textual parts too, like function call/responses, thought summaries and server-side executed code, plus other tool information is available, like Google Search and Maps results.

The `google-generativeai` SDK is deprecated and will emit warnings when
imported, plus it does not fully support the most recent models.

This also bumps the version checks to 3.10 to match [the
SDK](https://pypi.org/project/google-genai).
@markmcd
Copy link
Author

markmcd commented Jan 28, 2026

Anything else you need from us on this one?

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.

Deprecated google.generativeai package

1 participant