github googleapis/python-genai v1.39.0

6 hours ago

1.39.0 (2025-09-25)

Features

  • Add FunctionResponsePart & ToolComputerUse.excludedPredefinedFunctions (aa7e3c2)
  • Allow custom headers in file upload requests. (1aad1e9)
  • Support explicitly closing the client and context manager (f982dfb)
  • Support Imagen 4 Ingredients on Vertex (1fe3bec)

Bug Fixes

  • Expose JOB_STATE_RUNNING and JOB_STATE_EXPIRED for Gemini Batches states (739f72d)
  • Fix AFC logging (249f1af)
  • Fix Max Depth repr for containers (dict, list, ...) (6ef3db8)
  • Initialization of pre_tuned_model_checkpoint_id from tuning config. (1d3d28a)
  • Remove unclosed client session message when sharing aiohttp ClientSession (8cee513)

Don't miss a new python-genai release

NewReleases is sending notifications on new releases.