github googleapis/python-genai v0.4.0

latest releases: v1.33.0, v1.32.0, v1.31.0...
8 months ago

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)

Don't miss a new python-genai release

NewReleases is sending notifications on new releases.