The environment network config now supports "allowlist": "disabled", and the discovery doc is updated. A direct AFC warning is now logged only when functions are present in the config.
python-genai
npx @buildinternet/releases get python-genaiThe Interactions Model enum adds lyria-3.5, gemini-omni-1.1-flash, and gemini-omni-flash-preview, and Interactions now supports continuation_token.
GenerateContent requests can now pass a continuation_token. Documentation was also updated.
Added Gemini 3.8 Flash TTS and Gemini 3.8 Flash Lite TTS models to the SDK, plus an environments dedicated module with from_environment support and gcs_metrics_uri for exporting tuning job metrics. Fixed aiohttp sessions and auth locks being reaped from closed event loops and Vertex AI interactions client defaulting to a 5s timeout instead of None.
The GAOS SDK gains a Voices API resource and sample_audio on Voice, with SpeechMetadata, VoiceConfig.voice, and SpeechAnnotation now exposed in the public GenAI SDKs. Also supports field.value_field syntax for map add_union_value annotations and sanitizes path parameter descriptions in GAOS OpenAPI generation.
Adds a credential API resource to gaos with SDK wiring, RetrievalCallStep and RetrievalResultStep to the interactions schema, and environment file upload and download across the Python and TypeScript SDKs. Fixed automatic function calling to stop running functions once the budget is spent.
live.py receive() now supports dynamic turn completion via interaction_status, and environment copying gains from_environment support. Removed an unused field from FunctionResultDelta.
Adds the Gemini 3.8 Flash model to the Python SDK and updates Flash model descriptions.
Added video understanding support to the Interactions API, along with streaming downloads to disk via client.files.download, audio/webm MIME support, and translation_config for GEAP. Also exposed ProcessingCallStep and ProcessingResultStep in the Interactions SDK.
Adds AudioTranscriptionConfigMode for audio transcription configuration, environment files support with a scotty file download helper, and TYPE_JPEG2000 to the VideoContent.MimeType enum.
The Gemini Python SDK v2.19.0 adds a mode enum (VERBATIM, SMART) to audio transcription configs, along with new capabilities like video resolution and extension parameters, step count for reinforcement tuning, and an IDLE state for live connections. The REQUIRES_ACTION live connection status is now deprecated.
The deferred service tier is now publicly available on Vertex. Speech_config becomes a structured object, and model validators now build on first use instead of at import to speed up import times.
Adds the Gemini Robotics ER 2 Preview model, a TOO_MANY_TOOL_CALLS value to the FinishReason enum, and a top-level errors array to the Interaction resource (iAPI). Also auto-populates propertyOrdering for ResponseSchema and ResponseJsonSchema in the .NET SDK.
Adds an environment resource wired into the SDK, and Google Maps Tool grounding_types now support places and routing. Also communicates upcoming changes in the next major version.
GenerateContentConfig now supports GenerationConfig.audio_transcription_config and Part.audio_transcription, with a flat language_codes field on AudioTranscriptionConfig. API keys can now be used with project and location for enterprise mode.
Added audio_transcription_config to GenerationConfig and Part.audio_transcription support. Deprecated the Imagen generate_images, edit_images, and generate_videos methods (with prompt/text/image args), plus LiveConnectConfig.GenerationConfig, ahead of the next major version.
A new custom_vocabulary field for the Live API and a model selector are now available. ASR fields are now public in v1main and Interactions, and mTLS support is added for custom clients using google auth mtls.
Fixed a bug where Interactions inside triggers were not being normalized properly.
Adds a new Triggers resource to the GoogleGenAI client, AntigravityAgentConfig and CodeMenderAgentConfig to OpenAPI schema overlays, and per-modality prompt token counts in embedding responses for gemini-embedding-2.


