Google Gen AI SDK v2.34.0
Google Gen AI SDK v2.34.0 adds automatic continuation and token support for interactions, drops Python 3.10, adds Python 3.15 support, and introduces video upscale task parameters and video understanding.
原始内容为英文;当前页面提供中文导航与来源说明,具体事实请以原文为准。
为什么值得关注
Google Gen AI SDK version 2.34.0 has been released with multiple runtime, feature, and stability updates. Runtime compatibility shifts with the removal of Python 3.10 support and the addition of Python 3.15. Interaction workflows receive several enhancements, including support for continuation tokens, a requires continuation status, automatic continuation within interactions.create, and explicit continuation IDs on Interaction objects. Video capabilities expand with a video upscale task parameter and video understanding support in the Gemini Developer API. LiveConnectConfig.http options now accept base url, api version, and headers. Bug fixes include preventing per-request Authorization and X-Server-Timeout headers from leaking into client defaults, aligning User-Agent and x-goog-api-client headers, and resolving PEP 563 string annotations during AFC tool invocation.
可执行摘要
Google Gen AI SDK v2.34.0 introduces breaking runtime changes by dropping Python 3.10 and adding Python 3.15 support. Key features include automatic continuation handling in interactions.create, continuation IDs on Interaction objects, video upscale task parameters, and Gemini Developer API video understanding support. Critical bug fixes resolve client header leakage and PEP 563 string annotations in AFC tools.
- Agent 实用度
- 94/100
- 可信度
- 96%
- 机器格式
- JSON + Markdown
开发者应核对什么
- Upgrade Python runtime environments from Python 3.10 to a supported version (up to Python 3.15) before upgrading the SDK.
- Review interaction workflows to take advantage of or adapt to automatic continuation in interactions.create and new continuation tokens/IDs.
- Verify AFC tool definitions if relying on PEP 563 string annotations.