Skip to content

Releases: googleapis/python-genai

v2.19.0

Choose a tag to compare

@release-please release-please released this 19 Aug 22:18
c425b0b

2.19.0 (2026-08-19)

Features

  • Add mode enum (VERBATIM, SMART) to AudioTranscriptionConfig and TranscriptionConfig. (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

Choose a tag to compare

@release-please release-please released this 13 Aug 21:41
2dd9537

2.18.1 (2026-08-13)

Bug Fixes

v2.18.0

Choose a tag to compare

@release-please release-please released this 13 Aug 00:00
3299af6

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

  • Build model validators on first use instead of at import (66bfe95), refs #2784
  • Lazily import the interactions API to speed up import google.genai (89dcfe5)
  • Stop importing the requests HTTP stack at module scope (3a44936)

v2.17.0

Choose a tag to compare

@release-please release-please released this 06 Aug 04:36
d0efb69

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

  • Fix interactions (80d80ff)
  • Regenerate docs for 2.16.0 (f03ecfd)
  • Update GenerateVideos docstrings and samples (c41ba11)

v2.16.0

Choose a tag to compare

@release-please release-please released this 30 Jul 14:09
a6ffb75

2.16.0 (2026-07-29)

Features

  • Add environment resource (615b6c3)
  • Support GoogleMaps Tool grounding_types places and routing (95a335d)
  • Wire environment service into genai sdk (361292e)

Documentation

  • Communicate on upcoming updates in the next major version (f63b366)
  • Regenerate docs for 2.15.0 (7c0e1bb)

v2.15.0

Choose a tag to compare

@release-please release-please released this 29 Jul 17:10
e56e064

2.15.0 (2026-07-28)

Features

  • [GenerateContentConfig] Add GenerationConfig.audio_transcription_config and Part.audio_transcription. (0f775f1)
  • Add flat language_codes field to AudioTranscriptionConfig. (fc282b3)
  • Allow api key + proj/location for enterprise mode (e8714ca)

Documentation

  • Regenerate docs for 2.14.0 (3d3850a)

v2.14.0

Choose a tag to compare

@release-please release-please released this 22 Jul 21:11
7c1f70d

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

Choose a tag to compare

@release-please release-please released this 21 Jul 16:41
a381b8d

2.13.0 (2026-07-21)

Features

  • A new field custom_vocabulary is 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

Choose a tag to compare

@release-please release-please released this 16 Jul 16:00
6debc1c

2.12.1 (2026-07-16)

Bug Fixes

  • Fix the normalization of Interactions inside triggers (be554d3)

v2.12.0

Choose a tag to compare

@release-please release-please released this 16 Jul 00:36
939c667

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)