Skip to content

Milestones

List view

  • No due date
    β€’4/4 issues closed
  • - Code execution supported - Google Map Search tool - File Search tool

    No due date
    β€’3/3 issues closed
  • No due date
    β€’3/3 issues closed
  • Gemini Rust 1.4.0: Content Caching & File-Based Batch Processing This milestone introduces powerful new features that significantly enhance the library's capabilities for production use cases, particularly around content caching for cost optimization and large-scale batch processing. 🎯 Key Features Content Caching API Support Complete implementation of Gemini's content caching API with fluent builder pattern TTL-based and absolute time-based cache expiration support Full CRUD operations for cached content lifecycle management Seamless integration with existing content generation workflows Significant cost reduction for applications with repeated context usage Enhanced Batch Processing New file-based batch processing for handling large job volumes Automatic result file handling and parsing Support for jobs that exceed standard API size limits Improved batch management with better error handling and resource cleanup πŸ”§ Technical Improvements Type Safety & Error Handling Introduction of Model enum for type-safe model selection Separate error types (ClientError, BatchError) for better context Enhanced error handling with snafu library integration Improved streaming API with TryStreamExt for better error propagation API Consistency & Developer Experience All client constructors now return Result types for better error handling Improved URL handling requiring proper Url types Module reorganization with better export structure Enhanced async stream handling throughout the library πŸ’₯ Breaking Changes This release includes several breaking changes aimed at improving type safety and error handling: Constructor methods now return Result types Streaming API updated to use TryStreamExt Model selection now uses type-safe enum Enhanced error type system with contextual errors URL parameters require proper parsing 🌟 Benefits Cost Optimization: Significant reduction in API costs through content caching Scalability: Enhanced batch processing capabilities for large workloads Reliability: Improved error handling and type safety Developer Experience: Better APIs with clearer error messages and type safety Production Ready: Enhanced resource management and cleanup πŸŽ“ Migration Support While this release includes breaking changes, comprehensive migration guidance is provided in the changelog, and most changes involve adding ? operators and updating imports.

    No due date
    β€’16/16 issues closed