Releases: googleapis/python-genai
Releases · googleapis/python-genai
Release list
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)
v2.14.0
2.14.0 (2026-07-22)
Features
- [GenerateContentConfig] Add GenerationConfig.audio_transcription_config and Part.audio_transcription. (dc3d78d)
Bug Fixes
- Add deprecation warnings to Imagen generate_images, edit_images, generate_videos (if using prompt/text/image args), LiveConnectConfig.GenerationConfig which will be removed in the next major version (4905918)
Documentation
- Regenerate docs for 2.13.0 (097a99e)
v2.13.0
2.13.0 (2026-07-21)
Features
- A new field
custom_vocabularyis added to to Live API (4eeb1ad) - Add model selector (bf3dba4)
- interaction-api: Add queued status to interaction proto (87f1650)
- Make ASR fields public in v1main and Interactions (5b52faa)
- Support mTLS in custom client using google auth mtls.get_default_ssl_context (7270e6d)
Documentation
- Regenerate docs for 2.11.0 and 2.12.0 (dddd7c6)
v2.12.1
v2.12.0
2.12.0 (2026-07-15)
Features
- Add AntigravityAgentConfig to OpenAPI schema overlays and regenerate SDKs. (c68f857)
- Add trigger resource (0ab9525)
- Add Triggers resource to GoogleGenAI client. (60727fe)
- interactions: Add CodeMenderAgentConfig (50eca74)
- Populate per-modality prompt token count in embedding responses for gemini-embedding-2 (2ba0154)