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.
Why this signal matters
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.
Actionable summary
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 usefulness
- 94/100
- Confidence
- 96%
- Canonical data
- JSON + Markdown
What builders should check
- 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.