Python GenAI SDK v2.11.0 adds new Gemini API features
sdkai
feature patch
The Python GenAI SDK has been updated to version 2.11.0, introducing new features for Gemini Enterprise API integration, including environment configuration and enhanced retrieval capabilities. This release also addresses several bug fixes, such as event loop mismatches and improved interaction handling, benefiting developers using Gemini models. Notably, it refactors how safety settings and labels are exposed, impacting how certain parameters are managed.
- →Add environment_id in network config
- →Add response_format and Translation_config in GenerationConfig
- →Add retrieval result step and new fields to maps and search results
- →Add Tool.exa_ai_search for Gemini Enterprise API
- →Support Function declarations during Agent Creation
Features (5) ›
- Add environment_id in network config
- Add response_format and Translation_config in GenerationConfig
- Add retrieval result step and new fields to maps and search results
- Add Tool.exa_ai_search for Gemini Enterprise API
- Support Function declarations during Agent Creation
Fixes (3) ›
- Avoid shadowing of built-in list in Python 3.14
- Event loop mismatch in GenAI SDK
- interactions Accept both dict and list[dict] for transform
Read the original announcement →
https://github.com/googleapis/python-genai/releases/tag/v2.11.0