Skip to content

Releases: googleapis/python-genai

v0.4.0

08 Jan 18:49
8136173
Compare
Choose a tag to compare

0.4.0 (2025-01-08)

⚠ BREAKING CHANGES

  • Make Imagen upscale_factor a required argument, make upscale config optional

Features

  • ApiClient - support timeout in HttpOptions (b22286f)
  • Enable response_logprobs and logprobs for Google AI (5586f3d)
  • Support function_calls quick accessor in GenerateContentResponse class (81b8a23)

Bug Fixes

  • Change string type to int type (5c15243)
  • FunctionCallCancellation ids type. (b0e46b7)
  • Gracefully catch error if streamed json does not meet schema validation (fixes #14) (f494432)
  • Update RealtimeClientLiveMessage realtime content parameter field. (4340939)

Documentation

  • Add readme example for Chats module (830f0f5)
  • Fix typo in code document (f9243e8)
  • Fix typo in CONTRIBUTING.md (3e42644)

Code Refactoring

  • Make Imagen upscale_factor a required argument, make upscale config optional (b06629f)

v0.3.0

23 Dec 03:08
1d57271
Compare
Choose a tag to compare

0.3.0 (2024-12-17)

BREAKING CHANGES

  • contents must be passed to CreateCachedContentConfig instead of as a parameter to create_cached_content.

Features

  • Add support for Pydantic default value in Automatic Function Calling.
  • Add support for thought.
  • Add support for streaming chat.