Skip to content

Release v0.4.0: Google Gemini Provider Support

Latest

Choose a tag to compare

@TianyiPeng TianyiPeng released this 18 Sep 14:38
· 4 commits to main since this release

What's New in v0.4.0

🚀 Major Feature Addition: Google Gemini Provider Support

Added

  • New Provider Support: Google Gemini integration with direct API access
  • Support for Gemini models: gemini-1.5-pro, gemini-1.5-flash, gemini-1.0-pro
  • Gemini-specific error handling for safety filter blocks
  • Environment variable support for both GEMINI_API_KEY and GOOGLE_API_KEY
  • Comprehensive Gemini documentation and examples in README
  • Test script for validating Gemini provider functionality

Changed

  • Updated provider documentation to include Gemini across all examples
  • Enhanced supported models section with Gemini model descriptions
  • Added google-generativeai dependency to pyproject.toml

Technical Details

  • Async support for Gemini API calls
  • Proper error handling for content safety blocks
  • Token usage tracking for Gemini responses
  • Integration with existing caching and retry mechanisms

Full Changelog: v0.3.3...v0.4.0