Releases: googleapis/python-genai
Releases · googleapis/python-genai
Release list
v2.23.0
v2.22.0
v2.21.0
2.21.0 (2026-08-31)
Features
- Add destination parameter to client.files.download to support streaming downloads to disk or file-like objects (fcf9e3f)
- Add support for the audio/webm MIME type. (67ec3d7)
- Add translation_config SDK support for GEAP. (ff153a7)
- Add Video Understanding support to the Interactions API (2cc99a9)
Bug Fixes
- Expose ProcessingCallStep and ProcessingResultStep in Interactions SDK (df0ab55)
v2.20.0
v2.19.0
2.19.0 (2026-08-19)
Features
- Add
modeenum (VERBATIM,SMART) toAudioTranscriptionConfigandTranscriptionConfig. (e8cd7d0) - Add enable_data_retention to ToolParallelAiSearch, Add step_count to ReinforcementTuningHyperParameters, Add BidiGenerateContentSetup (656da78)
- Add IDLE state to live connection status enum and mark REQUIRES_ACTION as deprecated. (599d89f)
- Add video resolution and extension task parameters (c3bdb88)
v2.18.1
v2.18.0
2.18.0 (2026-08-12)
Features
- Add interaction_status to LiveServerContent (66e224c)
- api: Make the deferred service tier publicly available on Vertex (e1f7c40)
- Enable json schema in FunctionDeclaration parser (62d50d6)
- Make speech_config a structured object. (cc0d42e)
- Support injecting httpx2 client. (012804d), refs #2680
Bug Fixes
- Improve AFC(automatic function calling) in chat including fixing bugs in AFC for generate_content_stream. also log warnings in generate_content, generate_content_stream and their async variants that AFC is meant to be used in chat experience, not directly in models module. (fe6118e)
Performance Improvements
v2.17.0
2.17.0 (2026-08-06)
Features
- Add the Gemini Robotics ER 2 Preview model (61d4645)
- Add TOO_MANY_TOOL_CALLS to FinishReason enum. (a8ec86e)
- Add top-level errors array to Interaction resource (iAPI) (c74505b)
Bug Fixes
- Add propertyOrdering auto-population for ResponseSchema and ResponseJsonSchema for Dotnet SDK (3ec2081)
Documentation
v2.16.0
v2.15.0
2.15.0 (2026-07-28)
Features
- [GenerateContentConfig] Add GenerationConfig.audio_transcription_config and Part.audio_transcription. (0f775f1)
- Add flat
language_codesfield toAudioTranscriptionConfig. (fc282b3) - Allow api key + proj/location for enterprise mode (e8714ca)
Documentation
- Regenerate docs for 2.14.0 (3d3850a)