gemini Gemini Python SDK Releases · · 2.24.0

Google's Python GenAI SDK v2.24.0 Adds Credential APIs and Retrieval Steps

sdkaigaengineer
feature patch

Version 2.24.0 of the Google Python GenAI SDK introduces new credential APIs and extends the interactions schema with RetrievalCallStep and RetrievalResultStep. This update enhances capabilities for managing authentication and integrating retrieval-augmented generation features within AI applications. Python developers leveraging the GenAI SDK for Gemini models will benefit from these additions, alongside improvements for environment file handling. The release also includes a bug fix for automatic function calling budget management and documentation updates.

  • Add credential APIs resource to gaos
  • Add RetrievalCallStep and RetrievalResultStep to interactions schema and SDKs
  • Implement environments files upload and download across Python and TypeScript SDKs
  • Wire credential APIs resource to sdk
  • Do not run functions once the automatic function calling budget is spent
Features (4)
  • Add credential APIs resource to gaos
  • Add RetrievalCallStep and RetrievalResultStep to interactions schema and SDKs
  • Implement environments files upload and download across Python and TypeScript SDKs
  • Wire credential APIs resource to sdk
Fixes (1)
  • Do not run functions once the automatic function calling budget is spent
Maintenance (2)
  • Update GenAI SDK README files to use gemini-flash-latest
  • Update Python Gen AI SDK README for Gemini 3.8 Flash
Read the original announcement →

https://github.com/googleapis/python-genai/releases/tag/v2.24.0

Related releases