G

Google Gen AI SDK (Python)

G
Google Gen AI SDK (Python) AI v2.34.0

v2.34.0

2.34.0 (2026-10-29) Features Add support for continuation_token and requires_continuation status (daac53e) Add support for Python 3.15. (cb1408b) Add video upscale task parameter (0456043) Drop support for Python 3.10 (2677298) interactions: Add automatic_continuation to interactions.create in the Python SDK (c85d5ae) interactions: Declare continuation_ids on Interaction (4bdde3a) Support base_url…

G
Google Gen AI SDK (Python) AI v2.33.0

v2.33.0

2.33.0 (2026-10-22) Features Add store to GenerateContentConfig (Gemini Developer API only) and labels to LiveConnectConfig. (16a29c9) Add support for Python 3.15. (e1c4fc7) Add support for Python 3.15. (1a64450) client: Support httpx2 with GOOGLE_GENAI_HTTP_CLIENT configuration (87ddba1) Include AudioContent, DocumentContent, and VideoContent in FunctionResultSubContent (adbc79c) Bug Fixes client…

G
Google Gen AI SDK (Python) AI v2.32.0

v2.32.0

2.32.0 (2026-10-21) Features Add base_voice to PromptedVoice in GAOS SDK (5488643) Add generation_output_config to GenerateContentConfig (5c008e1) Add Live API in-session context updates (send_context_update) and types across GenAI SDKs. (364889a) sdks: Enable fixes.openSingleValueEnumsOct2026 across all SDKs (78f6d34) Update discovery doc (6cd176e) Bug Fixes Base64-encode inline bytes in Live sen…

G
Google Gen AI SDK (Python) AI v2.31.0

v2.31.0

2.31.0 (2026-10-14) Features interactions: Add gemini-4-argon to Model enum (8554b07) Bug Fixes Clear continuation state and preserve prompt feedback when continuation hop returns no candidates (a0d809c) Fix the function declaration parser for union types. Fixes #3060 (be32e9e) Fix the grounding metadata merging for automatic continuation in generate content and generate content stream (f1499bb) M…

G
Google Gen AI SDK (Python) AI v2.30.1

v2.30.1

2.30.1 (2026-10-13) Bug Fixes Concatenate output_text across multi-step model responses in a turn (180c345)

G
Google Gen AI SDK (Python) AI v2.30.0

v2.30.0

2.30.0 (2026-10-13) Features Accumulate streaming continuation usage metadata and expose initial_prompt_token_count (b27f3cd) Add continuation_token to the Interactions interaction.status_update event. (02db4c5) Add a CONTINUATION_REQUIRED Interaction status (bf9d6d7) Add billable token counts fields (6a6501c) Add startOffset/endOffset to Transcription and interimTranscriptTimestampEnabled to Real…

G
Google Gen AI SDK (Python) AI v2.29.0

v2.29.0

2.29.0 (2026-10-07) Features Support "allowlist": "disabled" in environment network config. (fa4acc7) Update discovery doc (84bf19c) Bug Fixes Only log direct AFC warning when functions are present in the config (6e36aaa) Documentation Refresh docs for 2.28.0 (618f0aa) Update code samples to gemini-flash-latest, gemini-3.1-flash-lite-image, and gemini-3.8-flash-tts (5673494) Update generated SDK d…

G
Google Gen AI SDK (Python) AI v2.28.0

v2.28.0

2.28.0 (2026-10-02) Features Add lyria-3.5, gemini-omni-1.1-flash, and gemini-omni-flash-preview to Interactions Model enum (1e8c0cc) Support continuation_token in Interactions (d40ca70)

G
Google Gen AI SDK (Python) AI v2.27.0

v2.27.0

2.27.0 (2026-10-01) Features Support continuation_token in GenerateContent (3931b29) Documentation Update docs (c6212e9)

G
Google Gen AI SDK (Python) AI v2.26.0

v2.26.0

2.26.0 (2026-09-30) Features Add gcs_metrics_uri for exporting tuning job metrics. (b6535e8) Add Gemini 3.8 Flash TTS and Gemini 3.8 Flash Lite TTS models to SDKs (0cad6ca) genai-sdk: Add environments dedicated module and from_environment support (7672ff6) Include labels for LiveClientSetup (4742c9a) Support labels for Gemini API GenerateContent (81ffa26) Bug Fixes Build a model before reading its…

G
Google Gen AI SDK (Python) AI v2.25.0

v2.25.0

2.25.0 (2026-09-22) Features Add sample_audio to Voice in GAOS SDK (a011633) Add Voices API resource to GAOS SDK (c45b94e) Expose SpeechMetadata, VoiceConfig.voice, and SpeechAnnotation in public GenAI SDKs (a6d3243) Support field.value_field syntax for map add_union_value annotations. (ad00721) Update discovery doc (fa91716) Wire voice into sdk (e1d68b4) Bug Fixes Sanitize path parameter descript…

G
Google Gen AI SDK (Python) AI v2.24.0

v2.24.0

2.24.0 (2026-09-16) Features Add credential APIs resource to gaos. (d301255) Add RetrievalCallStep and RetrievalResultStep to interactions schema and SDKs. (9052efd) Implement environments files upload and download across Python and TypeScript SDKs (fc0834d) Wire credential APIs resource to sdk. (bf0d457) Bug Fixes Do not run functions once the automatic function calling budget is spent (2580638)…

G
Google Gen AI SDK (Python) AI v2.23.0

v2.23.0

2.23.0 (2026-09-10) Features Add from_environment support for environment copying (e6d3168) Support dynamic turn completion via interaction_status in live.py receive() (455df80) Bug Fixes Remove unused field from FunctionResultDelta (2843079)

G
Google Gen AI SDK (Python) AI v2.22.0

v2.22.0

2.22.0 (2026-09-02) Features Add Gemini 3.8 Flash model to SDKs and update Flash model descriptions (660001a)

G
Google Gen AI SDK (Python) AI v2.21.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…

G
Google Gen AI SDK (Python) AI v2.20.0

v2.20.0

2.20.0 (2026-08-25) Features Add AudioTranscriptionConfigMode (4a80954) Add environment files support and scotty file download helper (3074263) Add TYPE_JPEG2000 to VideoContent.MimeType enum (ef39c40)

G
Google Gen AI SDK (Python) AI v2.19.0

v2.19.0

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 t…

G
Google Gen AI SDK (Python) AI v2.18.0

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 bug…

G
Google Gen AI SDK (Python) AI v2.17.0

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 Fix interactions (80d80ff) Regenerate docs for 2.16.0 (f03ecfd) Up…

G
Google Gen AI SDK (Python) AI v2.16.0

v2.16.0

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)

G
Google Gen AI SDK (Python) AI v2.15.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_codes field to AudioTranscriptionConfig. (fc282b3) Allow api key + proj/location for enterprise mode (e8714ca) Documentation Regenerate docs for 2.14.0 (3d3850a)

G
Google Gen AI SDK (Python) AI v2.14.0

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…

G
Google Gen AI SDK (Python) AI v2.13.0

v2.13.0

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)

G
Google Gen AI SDK (Python) AI v2.12.0

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)

G
Google Gen AI SDK (Python) AI v2.11.0

v2.11.0

2.11.0 (2026-07-09) Features Add environment_id in network config (df5f13a) Add response_format and Translation_config in GenerationConfig (8928da3) Add retrieval result step and new fields to maps and search results (d2b19f6) Add Tool.exa_ai_search for Gemini Enterprise API (8928da3) Support Function declarations during Agent Creation (bbeb934) Bug Fixes Avoid shadowing of built-in list in Python…

G
Google Gen AI SDK (Python) AI v2.10.0

v2.10.0

2.10.0 (2026-06-24) Features Add Agent Platform MCP support to async generate_content_stream (a4772cc) [Interactions] Add ComputerUse.disabled_safety_policies (732368f) [Models] Add ComputerUse.disabled_safety_policies (a359406) Add usage fields for steps (7bb6c72) Add video generation and response format parameters. (ec8f22b) Documentation Fix typos across docstrings (63ec5bb)

G
Google Gen AI SDK (Python) AI v2.9.0

v2.9.0

2.9.0 (2026-06-19) Major updates The interactions implementation has been completely replaced. The public api surface is unchanged. (d830f16) Features Add audioOffset to VoiceActivity (fb785e4) Add gemini-3-flash-preview (gemini-3.1, gemini-3.5, gemini-4 are already mapped) to the local tokenizer map. (749f8a1), closes #1972 Add interimInputTranscription to LiveServerContent (fb785e4) Add Language…

G
Google Gen AI SDK (Python) AI v2.9.0-rc1

v2.9.0-rc1

2.9.0-rc1 (2026-06-17) Features Add audioOffset to VoiceActivity (fb785e4) Add gemini-3-flash-preview (gemini-3.1, gemini-3.5, gemini-4 are already mapped) to the local tokenizer map. (749f8a1), closes #1972 Add interimInputTranscription to LiveServerContent (fb785e4) Add LanguageAuto, LanguageHints, and adaptationPhrases to AudioTranscriptionConfig (fb785e4) Broaden publisher model path check to…