You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove skip_project_and_location_in_path from async models.list
remove "tuning.distill"
Change asynchronous streaming output to an awaitable async iterator for client.aio.models.generate_content_stream and client.aio.chat.send_message_stream
Remove pillow as a required dependency
rename batches.list method signature.
make Part, FunctionDeclaration, Image, and GenerateContentResponse classmethods argument keyword only
Remove skip_project_and_location_in_path from HttpOption
Renamed FunctionDeclaration class functions to reflect the fact that they work off of the Callable type not just functions.
Moved the HttpOptions class into types.py, by making it autogenerated. This causes the following breaking change:
rename generate_image() to generate_images(), rename GenerateImageConfig to GenerateImagesConfig, rename GenerateImageResponse to GenerateImagesResponse, rename GenerateImageParameters to GenerateImagesParameters
Features
[genai-modules][models] Add HttpOptions to all method configs for models. (76fdde7)
Add support for enhance_prompt to model.generate_image (d09e14e)
Added support for the new HttpOptions class in the per request options overrides. (ad57025)
Change asynchronous streaming output to an awaitable async iterator for client.aio.models.generate_content_stream and client.aio.chat.send_message_stream (0c124eb)
Enable enum support in the GenerateContentConfig.response_schema (fe82e10)
Handle a wider variety of response_schemas - primitives and nested lists. (24fffea)
Rename generate_image() to generate_images(), rename GenerateImageConfig to GenerateImagesConfig, rename GenerateImageResponse to GenerateImagesResponse, rename GenerateImageParameters to GenerateImagesParameters (65d7bf5)
Renamed FunctionDeclaration class functions to reflect the fact that they work off of the Callable type not just functions. (0e4a003)