github googleapis/python-genai v3.7.0

52 minutes ago

3.7.0 (2026-12-02)

Features

  • Add stream_function_call_arguments to GenerationConfig (130b593)
  • Add SystemInputStep to the Interactions API (26e7c22)
  • Add text_normalization to SpeechConfig (Gemini API). (a6ad785)
  • Add Agent Templates (client.agents.templates) and agents.update to the GenAI SDKs (97f9c63)
  • Add Client.is_default_api_version to detect unconfigured API version (8d39b5f)
  • environments: Expose CreateEnvironmentRequest.env on the Gemini platform (074f507)
  • interactions: Handle interaction.requires_reconnection on clean close (915f05c)
  • Support server-side tool invocations on the Gemini platform (3c890e9)

Bug Fixes

  • Avoid spurious GOOGLE_API_KEY warning when env API keys are unused (d519d95)
  • Default AuthorizedSession responses without charset to UTF-8 and align aiohttp SSE decoding (5a7d7f0)
  • local_tokenizer: Include Hugging Face tokenizer models in unsupported-model error message (3a01abf)
  • Pass the function call id to the function response in automatic function calling (feb88ba), refs #3192
  • Retry aiohttp timeouts and wrapped google-auth transport errors under HttpRetryOptions (1026f1f), refs #3329
  • Serialize deferred Pydantic model builds to fix a multithreaded first-use race (ba539e0), refs #2991
  • Stop deep-copying MCP session tools in async generate_content (10f479b), refs #2669

Documentation

  • Describe Interactions API operations in plain words instead of RPC names (a8b851b)
  • Lead README with the Interactions API and add a tested quickstart (c299244)
  • Update README with latest Gemini models and Gemini platform naming (2d4bb18)
  • Update the new brand name (af26010)

Don't miss a new python-genai release

NewReleases is sending notifications on new releases.