github googleapis/python-genai v1.3.0

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

1.3.0 (2025-02-24)

Features

  • Add generate_videos (Veo 2) support for Python (e9e2be7)
  • Add sdk logger instance (fixes #278) (cf281b5)
  • Introduce response.executable_code and response.code_execution_result quick accessors for GenerateContentResponse class (3725ddf)
  • Introduce UserContent and ModelContent to facilitate easier content creation (c8cfef8)
  • Native async client support using httpx (c38da8d)
  • Provide a public property for determining the module backend. (8e561de)

Bug Fixes

  • Enable sending empty input to Live API as turn complete (99a5510)
  • Fix automatic function calling warning message logic. (b99da95)
  • Fix duplicate get_function_response_parts in (async) generate_content_stream and ensure chunk isn't empty before get_function_response_parts (d4193e6)
  • Properly handle empty json response with headers for list models (859ebc3)

Documentation

  • Add docs for error handling (#317) (6e1cb82)
  • Add instruction on how to disable automatic function calling. (f8b12d5)
  • Regenerate docs for 1.2.0 (30a3493)
  • Remove negative_prompt from image samples (fixes #339) (81e18f0)
  • Update docs for models modules (d96bba2)

Don't miss a new python-genai release

NewReleases is sending notifications on new releases.