Releases: googleapis/python-genai
Releases · googleapis/python-genai
v1.56.0
16 Dec 22:55
Compare
Sorry, something went wrong.
No results found
1.56.0 (2025-12-16)
Features
Add minimal and medium thinking levels. (96d644c )
Add support for Struct in ToolResult Content. (8fd4886 )
Add ultra high resolution to the media resolution in Parts. (356c320 )
Add ULTRA_HIGH MediaResolution and new ThinkingLevel enums (336b823 )
Define and use DocumentMimeType for DocumentContent (dc7f00f )
Support multi speaker for Vertex AI (ecb00c2 )
Bug Fixes
Api version handling for interactions. (436ca2e )
Documentation
Add documentation for the new Interactions API (Preview). (e28a69c )
Update and restructure codegen_instructions (00422de )
Update docs for 1.55 (1cc43e7 )
v1.55.0
11 Dec 02:37
Compare
Sorry, something went wrong.
No results found
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
08 Dec 18:52
Compare
Sorry, something went wrong.
No results found
1.54.0 (2025-12-08)
Features
Support ReplicatedVoiceConfig (07c74dd )
Bug Fixes
Apply timeout to the total request duration in aiohttp (a4f4205 )
Make APIError class picklable (fixes #1144 ) (e3d5712 )
Documentation
Regenerate docs for 1.53.0 (3a2b970 )
v1.53.0
03 Dec 17:11
Compare
Sorry, something went wrong.
No results found
1.53.0 (2025-12-03)
Features
Add empty response for tunings.cancel() (97cc7e4 )
Bug Fixes
Convert 'citationSources' key in CitationMetadata to 'citations' when present (fixes #1222 ) (2f28b02 )
Fix google.auth.transport.requests import error in Live API (a842721 )
Documentation
Improve docs for google.genai.types (5b50adc )
Recommend using response_json_schema in error messages and docstrings. (c0b175a )
Updating codegen instructions to use gemini 3 pro and nano banana pro (060f015 )
v1.52.0
21 Nov 02:10
Compare
Sorry, something went wrong.
No results found
1.52.0 (2025-11-21)
Features
Add support for configuring resource scope when using base_url (a3e0859 )
Bug Fixes
TypeError: issubclass() arg 1 must be a class when usingList[str] for contents (c624d7e )
Create new aiohttp Client Session if loop is closed (1dc35ea )
v1.51.0
18 Nov 05:22
Compare
Sorry, something went wrong.
No results found
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 )
v1.50.1
13 Nov 23:07
Compare
Sorry, something went wrong.
No results found
1.50.1 (2025-11-13)
Bug Fixes
Do not use ADC if passing a base_url, no project, no location (a00b67a )
Ensure the custom httpx client and async client won't be closed automatically (9a9fa3c )
v1.50.0
12 Nov 22:39
Compare
Sorry, something went wrong.
No results found
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
Log Schema.json_schema and Schema.from_json_schema only once (517300c )
Regenerate docs for 1.49.0 (74b680a )
v1.49.0
05 Nov 22:28
Compare
Sorry, something went wrong.
No results found
1.49.0 (2025-11-05)
Features
Add complete stats to BatchJob (b211466 )
Add FileSearch tool and associated FileSearchStore management APIs (2e2a78d )
Add image_size to ImageConfig (Early Access Program) (81c027c )
Make genai.Part constructible from PartUnionDict. (7526e4d )
Bug Fixes
Raise errors during file upload. (946a17e )
Use duck type in t_part transformer (be82981 )
Documentation
Log deprecation waring to Schema.from_json_schema method and Schema.json_schema method (856789a )
Regenerate docs for 1.48.0 (004d238 )
Update log message in Schema.json_schema and Schema.from_json_schema methods (5bf69e5 )
v1.48.0
03 Nov 17:21
Compare
Sorry, something went wrong.
No results found
1.48.0 (2025-11-03)
Features
Added phish filtering feature. (a9297b7 )
Drop support for Python 3.9 - EOL (b542082 )
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 )