Releases: googleapis/python-genai
Releases · googleapis/python-genai
v1.55.0
1.55.0 (2025-12-11)
Features
- Add the Interactions API (836a3)
- Add enableEnhancedCivicAnswers feature in GenerateContentConfig (15d1ea9)
- Add IMAGE_RECITATION and IMAGE_OTHER enum values to FinishReason (8bb4b9a)
- Add voice activity detection signal. (feae46d)
Bug Fixes
- Replicated voice config bytes handling (c9f8668)
Documentation
- Regenerate docs for 1.54.0 (8bac8d2)
v1.54.0
v1.53.0
v1.52.0
v1.51.0
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
v1.50.1
v1.50.0
1.50.0 (2025-11-12)
Features
- Use pytest-xdist for test parallelization (6ff82fc)
Bug Fixes
- Add missing fields to the model types (4b855e6)
- Don't generate warnings from response.text property because of thought_signature. (dd9360d)
- Fix base_steps parameter for recontext_image (d94077b)
- Fix file_search_stores.documents pagination (8d40d48)
- Fix models.list() filter parameter (7fa1e41)
- Handle SSE error message types properly in streaming (72afa50)
- Roll back a breaking change to the import system (8674003)
Documentation
v1.49.0
v1.48.0
1.48.0 (2025-11-03)
Features
Bug Fixes
- Append the current model chunk to contents in async streaming (7c5cf56)
- Disable AFC when there are incompatible tool presented. (ce13aef)
- Offload sync python tool calls to a thread when used from async context. (f2a0782)
- Only show warning log for non-text or multi-candidate fields when response.text is accessed directly (bf82505)
v1.47.0
1.47.0 (2025-10-29)
Features
- Add safety_filter_level and person_generation for Imagen upscaling (6196b1b)
- Add support for preference optimization tuning in the SDK. (4540f9d)
- Pass file name to the backend when uploading with a file path (4fa2edd)
- Support default global location when not using api key with vertexai backend (6340ce0)
- Support retries in API requests (ac70ecd)
Bug Fixes
- Check environment Vertex AI api key for credential precedence (9bd758c)
- Correct pydantic version range (bytes fields are broken with pydantic<=2.8). (d24cb56)
- Make
__del__methods more robust in_api_clientandclient. (64cab58) - Setting custom httpx async client will ensure using httpx client even if aiohttp is installed (7bd1bde)
- Support custom_base_url for Live and other APIs when project/location are unset and even when project/location are set in the environment, and avoid Automatic Default Credentials (7bd1bde)
Documentation
- Add docstring for classes and fields that are not supported in Gemini or Vertex API (4a6c6af)
- Add docstring for enum classes that are not supported in Gemini or Vertex API (909f26b)
- Add documentation for the retry behavior (ff12b46)
- Update Codegen Instructions to include newer models and use consistent formatting. (f0b0a94)
- Update README.md and index.rst to use consistent spacing for Python Samples (2e5aa1f)