[GH-ISSUE #19396] feat: bump Python google-genai to >=1.51 for thinking_level support #18859

Closed
opened 2026-04-20 01:05:40 -05:00 by GiteaMirror · 2 comments
Owner

Originally created by @nahoj on GitHub (Nov 23, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/19396

Check Existing Issues

  • I have searched for all existing open AND closed issues and discussions for similar requests. I have found none that is comparable to my request.

Verify Feature Scope

  • I have read through and understood the scope definition for feature requests in the Issues section. I believe my feature request meets the definition and belongs in the Issues section instead of the Discussions.

Problem Description

The recommended way to control reasoning_effort "for Gemini 3 models and onwards" is a thinking_level parameter. For Python, the parameter is available in google-genai 1.51+.

I would like to be able to use this in @owndev's Google Gemini pipeline.

Desired Solution you'd like

Make 1.52.0 (current latest) the version installed by open-webui.

Alternatives Considered

I tried writing requirements: google-genai>=1.51.0 in the pipeline code: it installs fine but can't be imported.

I wonder if it is necessary to pin google-genai's version at all given that it is not used directly in the open-webui backend, but I don't really know the ecosystem.

Additional Context

No response

Originally created by @nahoj on GitHub (Nov 23, 2025). Original GitHub issue: https://github.com/open-webui/open-webui/issues/19396 ### Check Existing Issues - [x] I have searched for all existing **open AND closed** issues and discussions for similar requests. I have found none that is comparable to my request. ### Verify Feature Scope - [x] I have read through and understood the scope definition for feature requests in the Issues section. I believe my feature request meets the definition and belongs in the Issues section instead of the Discussions. ### Problem Description The recommended way to control reasoning_effort "[for Gemini 3 models and onwards](https://ai.google.dev/gemini-api/docs/thinking#thinking-levels)" is a `thinking_level` parameter. For Python, the parameter is available in google-genai 1.51+. I would like to be able to use this in @owndev's Google Gemini pipeline. ### Desired Solution you'd like Make 1.52.0 (current latest) the version installed by open-webui. ### Alternatives Considered I tried writing `requirements: google-genai>=1.51.0` in the pipeline code: it installs fine but can't be imported. I wonder if it is necessary to pin google-genai's version at all given that it is not used directly in the open-webui backend, but I don't really know the ecosystem. ### Additional Context _No response_
Author
Owner

@tjbck commented on GitHub (Nov 23, 2025):

Addressed in dev.

<!-- gh-comment-id:3568368525 --> @tjbck commented on GitHub (Nov 23, 2025): Addressed in dev.
Author
Owner

@nahoj commented on GitHub (Nov 23, 2025):

Thank you!

<!-- gh-comment-id:3568373532 --> @nahoj commented on GitHub (Nov 23, 2025): Thank you!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#18859