0.6.0 (2025-01-21)
⚠ BREAKING CHANGES
- Renamed
types.FunctionDeclaration.from_function
totypes.FunctionDeclaration.from_callable
(5afa6bb)
Features
- Add support for audio_timestamp to types.GenerateContentConfig (fixes #132) (116395b)
- Add support for case insensitive enum types. (fixes #11) (252f302)
- Add support for class methods in the Tools for the GenerateContent Function (5afa6bb)
- Add ThinkingConfig to generate content config. (c23c42c)
- Implement client.files.download (a034b77)
- Support BytesIO when uploading files (4b490dc)
- Support lists in response_schema (8ed933d)
- Usability change to simplify generate content with uploaded files (5c372ae)
Bug Fixes
- Fix count_tokens system_instruction and tools config (056eaba)
- Fix models.list() with empty tuned models (75409f1)
- Fixed the
bytes
type handling (thebase64.urlsafe_bencode
error) (1bc161d) - Project and location are required when using client in Vertex AI mode. (d5859fa)