Google's Python GenAI client library v2.18.0 adds Vertex AI deferred service tier
Version 2.18.0 of the googleapis/python-genai client library introduces several new features, including public availability of the deferred service tier on Vertex AI and support for JSON schema in the FunctionDeclaration parser. It also enhances automatic function calling in chat experiences and improves import and model validation performance. These updates primarily benefit developers working with Google's generative AI models and Vertex AI.
- →Add interaction_status to LiveServerContent
- →Make the deferred service tier publicly available on Vertex
- →Enable json schema in FunctionDeclaration parser
- →Make speech_config a structured object
- →Support injecting httpx2 client. , refs #2680
Features (5) ›
- Add interaction_status to LiveServerContent
- api Make the deferred service tier publicly available on Vertex
- Enable json schema in FunctionDeclaration parser
- Make speech_config a structured object
- Support injecting httpx2 client. , refs #2680
Enhancements (3) ›
- Build model validators on first use instead of at import , refs #2784
- Lazily import the interactions API to speed up import google.genai
- Stop importing the requests HTTP stack at module scope
Fixes (1) ›
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
https://github.com/googleapis/python-genai/releases/tag/v2.18.0
Related releases
- Google DeepMind experts share insights on Gemini Omni's capabilities Gemini Blog ·
- Gemini expands app integrations to include more productivity, entertainment, and lifestyle services Gemini Blog ·
- Gemini model gemini-embedding-001 end-of-life date moved to 2028-05-14 endoflife.date ·
- Gemini model embedding-2-preview has reached end of life endoflife.date ·
- Gemini model imagen-4.0-fast-generate-001 reaches end of life in 6 days endoflife.date ·
- Gemini model imagen-4.0-ultra-generate-001 reaches end of life in 6 days endoflife.date ·