1.1.0 (2025-02-10)
Features
- Add support for typing.Literal in response_schema (fixes #264) (384c4eb)
- Allow converting a function into FunctionDeclaration with api option (408e28f)
- Support generate content config for each chat turn (ca19100)
- Tuning -
Tuning.tune
for Gemini API no longer blocks until the tuning operation is resolved (fcf8888)
Bug Fixes
- Remove duplicate function invocations and ensure automatic function calling can be disabled in generate_content_stream (0958fbe)
- Response_schema generation for pydantic fields with type Optional[list] and Optional[MyBaseModel] now work correctly (fixes #246) (8330561)
- Support dict response_schema with 'any_of' key (75f5056)
- Common - Do not fail when server returns unknown enum values on Python <3.11 (843d86d)