Python GenAI SDK Adds Triggers and Agent Configuration Options
sdkai
feature
The python-genai SDK version 2.12.0 introduces support for Triggers and additional agent configuration, including AntigravityAgentConfig and CodeMenderAgentConfig. This expands the SDK's capabilities for interacting with Gemini models, particularly for custom agent development. The release also includes per-modality prompt token counts for embedding responses, benefiting developers working with the gemini-embedding-2 model.
- →Add AntigravityAgentConfig to OpenAPI schema overlays and regenerate SDKs
- →Add trigger resource
- →Add Triggers resource to GoogleGenAI client
- →Add CodeMenderAgentConfig
- →Populate per-modality prompt token count in embedding responses for gemini-embedding-2
Features (5) ›
- Add AntigravityAgentConfig to OpenAPI schema overlays and regenerate SDKs
- Add trigger resource
- Add Triggers resource to GoogleGenAI client
- interactions Add CodeMenderAgentConfig
- Populate per-modality prompt token count in embedding responses for gemini-embedding-2
Read the original announcement →
https://github.com/googleapis/python-genai/releases/tag/v2.12.0
Related releases
- Gemini model gemini-omni-flash-preview reaches end of life in 33 days endoflife.date ·
- Gemini Omni 1.1 Flash Now Accessible via APIs, Offering Enhanced Control Gemini Blog ·
- Google showcases 7 ways Gemini enhances student productivity in Workspace Gemini Blog ·
- Gemini Live adds new voice-activated productivity features with Spark integration Gemini Blog ·
- Google introduces Gemini 3.5 Transcribe for precise, intelligent speech-to-text Gemini Blog ·
- Google's Python GenAI SDK v2.20.0 adds audio transcription mode and JPEG2000 support Gemini Python SDK Releases ·