3.4.0 (2026-11-16)
Features
- Add tool search types to the Interactions SDKs (ce09088)
- Deprecate non-interactions names in google.genai.interactions. (f551f8f)
- interactions: Expose static file processing options (36c3c5f)
- Support batch inputs and usage metadata for Gemini embedding models on Gemini Enterprise API (a5f860d)
Bug Fixes
- Await asyncio.sleep in async HTTPX upload retry backoff (f0504ad), refs #2938
- Escape backslashes and delimiter-breaking quotes in generated Python docstrings (e2f8345)
- Ignore braces inside JSON strings when buffering raw stream lines (74ff9fe), refs #2042
- Keep one httpx connection pool per event loop in AsyncHttpxClient and AsyncHttpx2Client (411bb6f), refs #3157
- Merge case variants of User-Agent and x-goog-api-client headers (e7f9ad3), refs #2309
- Remove the per-line length cap when reading aiohttp SSE streams (a3d04bd), refs #3244
- Resolve
$defsreferences per path inprocess_schemafor recursive union schemas (8a9c9fd) - Resolve Vertex Live connect auth off the event loop and cache ADC credentials (b027a42)
- Split SSE stream lines on CR, LF and CRLF only (6ae3ad1), refs #3243
- Stop the async client finalizer from scheduling an unawaited aclose task (5c20251), refs #1709
Documentation
- Note that some models are not available on v1 (190d701)