github googleapis/python-genai v1.51.0

17 hours ago

1.51.0 (2025-11-18)

Features

  • Add a pre-validation hook to warn about Pydantic model type mismatches. (f7af6ef)
  • Add display name to FunctionResponseBlob (52906d5)
  • Add display name to FunctionResponseFileData (7c39f70)
  • Add generate_content_config.thinking_level (30b00db)
  • Add image output options to ImageConfig for Vertex (014aaad)
  • Add part.media_resolution (30b00db)
  • Support Function call argument streaming for all languages (9b2ca50)

Bug Fixes

  • Only log warnings once for accessors in GenerateContentResponse and LiveServerMessage (eec841e)

Documentation

  • Remove gemini 2 below model reference (c42ddff)
  • Update sample code to use gemini 2 or above (d48bbba)
  • Update Veo and Imagen model id in README (5c69122)

Don't miss a new python-genai release

NewReleases is sending notifications on new releases.