Skip to content

v1.0.0

Compare
Choose a tag to compare
@release-please release-please released this 05 Feb 14:57
2a7ffb1

1.0.0 (2025-02-05)

⚠ BREAKING CHANGES

  • Remove deprecated field: deprecated_response_payload

Features

  • Add labels for GenerateContent requests (3e3b82d)
  • Add Union support to response_schema (eedf4f1)
  • Support automatic function calling in models.generate_content_stream and send_message_stream, sync and async mode (7c9f8b5)

Bug Fixes

  • Avoid false test failure by skipping incompatible test case for python 3.13 (7f10e55)
  • Default to list base models (instead of tuned models) (ef48f0d)
  • Handle pydantic model type recognition gracefully for python 3.9 and 3.10 (4a38fdf)
  • Raise error when Gemini API response_schema has 'default' or 'anyof' fields (c50bca0)
  • Remove redundant contents in Automatic Function Calling history (5510595)
  • Remove unsupported parameter from Gemini API (f8addb5)

Documentation

  • Remove experimental classification from description. (b14ac57)
  • Remove thoughts examples and update tests (af3b339)
  • Update documentation on how to set api version using genai client (6fd4425)
  • Update instruction on function calling experience in ANY mode. (451cf98)

Code Refactoring

  • Remove deprecated field: deprecated_response_payload (197fa46)