github googleapis/python-genai v1.6.0

latest releases: v1.35.0, v1.34.0, v1.33.0...
6 months ago

1.6.0 (2025-03-13)

Features

  • Add base steps to EditImageConfig (9ddfbcd)
  • Enable union type for Schema when calling Gemini API, enable required field when doing automatic function calling for Gemini API. (891d736)
  • Migrate sync client to use httpx (d0bf03b)
  • Support returned safety attributes for generate_images (98b5709)

Bug Fixes

  • Correctly import typing.typeguard in python 3.9 (4dcaf99)
  • Fix the missing learning_rate_multiplier in CreateTuningJobConfig conversion. (0bd0a5e)
  • Fix video.show() to display video (dab1a4f)
  • Remove unsupported parameter negative_prompt from Gemini API generate_images (5f3333e)
  • Resolve issue where pre-release versions of dependencies are installed (6559a1a)

Documentation

  • Add docstring: the sha256_hash is encoded in base64. (d710627)
  • Update docs with agreed-upon fixes (f523a7c)

Don't miss a new python-genai release

NewReleases is sending notifications on new releases.