pypi google-genai 2.18.0
v2.18.0

3 hours ago

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)

Don't miss a new google-genai release

NewReleases is sending notifications on new releases.