这是indexloc提供的服务,不要输入任何密码
Skip to content

Lock google-genai package to stable v1.20.0 #2725

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

simplegr33n
Copy link
Contributor

This change pins the google-genai package to version 1.20.0 to avoid a JSONDecodeError and an ERROR asyncio - Unclosed client session that occur during streaming with version 1.21.1 and above.

This issue is documented in:

googleapis/python-genai#1024
googleapis/python-genai#1014

Copy link
Contributor

⚠️ Changeset Required

We detected changes in the following package(s) but no changeset file was found. Please add one for proper versioning:

  • livekit-plugins-google

👉 Create a changeset file by clicking here.

Copy link
Member

@davidzhao davidzhao left a comment

Choose a reason for hiding this comment

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

thanks!

@longcw
Copy link
Contributor

longcw commented Jun 27, 2025

The type check failed

livekit-plugins/livekit-plugins-google/livekit/plugins/google/utils.py:32: error: Unexpected keyword argument "parameters_json_schema" for "FunctionDeclaration" 

parameters_json_schema seems was introduced after v1.20

@davidzhao
Copy link
Member

i'll fix it after the merge

@davidzhao davidzhao merged commit 6f0c3f8 into livekit:main Jun 27, 2025
5 of 8 checks passed
akshaym1shra pushed a commit to akshaym1shra/agents that referenced this pull request Jul 15, 2025
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.

3 participants