Releases
v0.6.0
0.6.0 (2025-01-21)
⚠ BREAKING CHANGES
Renamed types.FunctionDeclaration.from_function
to types.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 (the base64.urlsafe_bencode
error) (1bc161d )
Project and location are required when using client in Vertex AI mode. (d5859fa )
Documentation
Add project description to README. (384f413 )
Update formatting in README.md (d33fb37 )
Update models.list doc and code examples to include list base models (f2e0c43 )
Tool use example in docs (87fe5b0 )
Tool use example in README.md (87fe5b0 )
You can’t perform that action at this time.