Support injecting httpx2 client. (012804d), refs #2680
Bug Fixes
Improve AFC(automatic function calling) in chat including fixing bugs in AFC for generate_content_stream. also log warnings in generate_content, generate_content_stream and their async variants that AFC is meant to be used in chat experience, not directly in models module. (fe6118e)
Performance Improvements
Build model validators on first use instead of at import (66bfe95), refs #2784
Lazily import the interactions API to speed up import google.genai (89dcfe5)
Stop importing the requests HTTP stack at module scope (3a44936)
Support injecting httpx2 client. (012804d), refs #2680
Bug Fixes
Improve AFC(automatic function calling) in chat including fixing bugs in AFC for generate_content_stream. also log warnings in generate_content, generate_content_stream and their async variants that AFC is meant to be used in chat experience, not directly in models module. (fe6118e)
Performance Improvements
Build model validators on first use instead of at import (66bfe95), refs #2784
Lazily import the interactions API to speed up import google.genai (89dcfe5)
Stop importing the requests HTTP stack at module scope (3a44936)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase will rebase this PR
@dependabot recreate will recreate this PR, overwriting any edits that have been made to it
@dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
@dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
@dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps [google-genai](https://github.com/googleapis/python-genai) from 2.10.0 to 2.19.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/googleapis/python-genai/releases">google-genai's releases</a>.</em></p>
<blockquote>
<h2>v2.19.0</h2>
<h2><a href="https://github.com/googleapis/python-genai/compare/v2.18.1...v2.19.0">2.19.0</a> (2026-08-19)</h2>
<h3>Features</h3>
<ul>
<li>Add <code>mode</code> enum (<code>VERBATIM</code>, <code>SMART</code>) to <code>AudioTranscriptionConfig</code> and <code>TranscriptionConfig</code>. (<a href="https://github.com/googleapis/python-genai/commit/e8cd7d001438da2b580c0d65cc429111f1c38442">e8cd7d0</a>)</li>
<li>Add enable_data_retention to ToolParallelAiSearch, Add step_count to ReinforcementTuningHyperParameters, Add BidiGenerateContentSetup (<a href="https://github.com/googleapis/python-genai/commit/656da7861344603fc122c2d3e6f98f88f7d7fe1e">656da78</a>)</li>
<li>Add IDLE state to live connection status enum and mark REQUIRES_ACTION as deprecated. (<a href="https://github.com/googleapis/python-genai/commit/599d89fe1b6b4625d1c402a3275d95d8c84f3699">599d89f</a>)</li>
<li>Add video resolution and extension task parameters (<a href="https://github.com/googleapis/python-genai/commit/c3bdb8865ce11bfe8d4869fa80c6cb14a469abff">c3bdb88</a>)</li>
</ul>
<h2>v2.18.1</h2>
<h2><a href="https://github.com/googleapis/python-genai/compare/v2.18.0...v2.18.1">2.18.1</a> (2026-08-13)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Add gemini-3.7-flash (<a href="https://github.com/googleapis/python-genai/commit/f898b61089df672818a6f8832646ae82b59ff9a2">f898b61</a>)</li>
</ul>
<h2>v2.18.0</h2>
<h2><a href="https://github.com/googleapis/python-genai/compare/v2.17.0...v2.18.0">2.18.0</a> (2026-08-12)</h2>
<h3>Features</h3>
<ul>
<li>Add interaction_status to LiveServerContent (<a href="https://github.com/googleapis/python-genai/commit/66e224c39c9527e0fef3a4f049ac33ec941e2f99">66e224c</a>)</li>
<li><strong>api:</strong> Make the deferred service tier publicly available on Vertex (<a href="https://github.com/googleapis/python-genai/commit/e1f7c40f0a831f25ee71294fc8c195576d5fd126">e1f7c40</a>)</li>
<li>Enable json schema in FunctionDeclaration parser (<a href="https://github.com/googleapis/python-genai/commit/62d50d6f172da5d6efa30838ab92da95b1327b5e">62d50d6</a>)</li>
<li>Make speech_config a structured object. (<a href="https://github.com/googleapis/python-genai/commit/cc0d42e84583ed927b6c0dfae38da7f5f544b2da">cc0d42e</a>)</li>
<li>Support injecting httpx2 client. (<a href="https://github.com/googleapis/python-genai/commit/012804d9b649a20da46a6041e37d126b9a0b79e0">012804d</a>), refs <a href="https://redirect.github.com/googleapis/python-genai/issues/2680">#2680</a></li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>Improve AFC(automatic function calling) in chat including fixing bugs in AFC for generate_content_stream. also log warnings in generate_content, generate_content_stream and their async variants that AFC is meant to be used in chat experience, not directly in models module. (<a href="https://github.com/googleapis/python-genai/commit/fe6118e3c7a9e83406bc722e34b7efca75f1ef13">fe6118e</a>)</li>
</ul>
<h3>Performance Improvements</h3>
<ul>
<li>Build model validators on first use instead of at import (<a href="https://github.com/googleapis/python-genai/commit/66bfe956f7a8b6c8d7c7eb949a9b6a499a4e2860">66bfe95</a>), refs <a href="https://redirect.github.com/googleapis/python-genai/issues/2784">#2784</a></li>
<li>Lazily import the interactions API to speed up import google.genai (<a href="https://github.com/googleapis/python-genai/commit/89dcfe5b28f5e794f9a5ac84e2d45e9e7b7bd803">89dcfe5</a>)</li>
<li>Stop importing the requests HTTP stack at module scope (<a href="https://github.com/googleapis/python-genai/commit/3a44936ea783363489967bd9d219fb26401585dd">3a44936</a>)</li>
</ul>
<h2>v2.17.0</h2>
<h2><a href="https://github.com/googleapis/python-genai/compare/v2.16.0...v2.17.0">2.17.0</a> (2026-08-06)</h2>
<h3>Features</h3>
<ul>
<li>Add the Gemini Robotics ER 2 Preview model (<a href="https://github.com/googleapis/python-genai/commit/61d4645c6f7acab5fdc1dd6a4f6943fe8c937347">61d4645</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/googleapis/python-genai/blob/main/CHANGELOG.md">google-genai's changelog</a>.</em></p>
<blockquote>
<h2><a href="https://github.com/googleapis/python-genai/compare/v2.18.1...v2.19.0">2.19.0</a> (2026-08-19)</h2>
<h3>Features</h3>
<ul>
<li>Add <code>mode</code> enum (<code>VERBATIM</code>, <code>SMART</code>) to <code>AudioTranscriptionConfig</code> and <code>TranscriptionConfig</code>. (<a href="https://github.com/googleapis/python-genai/commit/e8cd7d001438da2b580c0d65cc429111f1c38442">e8cd7d0</a>)</li>
<li>Add enable_data_retention to ToolParallelAiSearch, Add step_count to ReinforcementTuningHyperParameters, Add BidiGenerateContentSetup (<a href="https://github.com/googleapis/python-genai/commit/656da7861344603fc122c2d3e6f98f88f7d7fe1e">656da78</a>)</li>
<li>Add IDLE state to live connection status enum and mark REQUIRES_ACTION as deprecated. (<a href="https://github.com/googleapis/python-genai/commit/599d89fe1b6b4625d1c402a3275d95d8c84f3699">599d89f</a>)</li>
<li>Add video resolution and extension task parameters (<a href="https://github.com/googleapis/python-genai/commit/c3bdb8865ce11bfe8d4869fa80c6cb14a469abff">c3bdb88</a>)</li>
</ul>
<h2><a href="https://github.com/googleapis/python-genai/compare/v2.18.0...v2.18.1">2.18.1</a> (2026-08-13)</h2>
<h3>Bug Fixes</h3>
<ul>
<li>Add gemini-3.7-flash (<a href="https://github.com/googleapis/python-genai/commit/f898b61089df672818a6f8832646ae82b59ff9a2">f898b61</a>)</li>
</ul>
<h2><a href="https://github.com/googleapis/python-genai/compare/v2.17.0...v2.18.0">2.18.0</a> (2026-08-12)</h2>
<h3>Features</h3>
<ul>
<li>Add interaction_status to LiveServerContent (<a href="https://github.com/googleapis/python-genai/commit/66e224c39c9527e0fef3a4f049ac33ec941e2f99">66e224c</a>)</li>
<li><strong>api:</strong> Make the deferred service tier publicly available on Vertex (<a href="https://github.com/googleapis/python-genai/commit/e1f7c40f0a831f25ee71294fc8c195576d5fd126">e1f7c40</a>)</li>
<li>Enable json schema in FunctionDeclaration parser (<a href="https://github.com/googleapis/python-genai/commit/62d50d6f172da5d6efa30838ab92da95b1327b5e">62d50d6</a>)</li>
<li>Make speech_config a structured object. (<a href="https://github.com/googleapis/python-genai/commit/cc0d42e84583ed927b6c0dfae38da7f5f544b2da">cc0d42e</a>)</li>
<li>Support injecting httpx2 client. (<a href="https://github.com/googleapis/python-genai/commit/012804d9b649a20da46a6041e37d126b9a0b79e0">012804d</a>), refs <a href="https://redirect.github.com/googleapis/python-genai/issues/2680">#2680</a></li>
</ul>
<h3>Bug Fixes</h3>
<ul>
<li>Improve AFC(automatic function calling) in chat including fixing bugs in AFC for generate_content_stream. also log warnings in generate_content, generate_content_stream and their async variants that AFC is meant to be used in chat experience, not directly in models module. (<a href="https://github.com/googleapis/python-genai/commit/fe6118e3c7a9e83406bc722e34b7efca75f1ef13">fe6118e</a>)</li>
</ul>
<h3>Performance Improvements</h3>
<ul>
<li>Build model validators on first use instead of at import (<a href="https://github.com/googleapis/python-genai/commit/66bfe956f7a8b6c8d7c7eb949a9b6a499a4e2860">66bfe95</a>), refs <a href="https://redirect.github.com/googleapis/python-genai/issues/2784">#2784</a></li>
<li>Lazily import the interactions API to speed up import google.genai (<a href="https://github.com/googleapis/python-genai/commit/89dcfe5b28f5e794f9a5ac84e2d45e9e7b7bd803">89dcfe5</a>)</li>
<li>Stop importing the requests HTTP stack at module scope (<a href="https://github.com/googleapis/python-genai/commit/3a44936ea783363489967bd9d219fb26401585dd">3a44936</a>)</li>
</ul>
<h2><a href="https://github.com/googleapis/python-genai/compare/v2.16.0...v2.17.0">2.17.0</a> (2026-08-06)</h2>
<h3>Features</h3>
<ul>
<li>Add the Gemini Robotics ER 2 Preview model (<a href="https://github.com/googleapis/python-genai/commit/61d4645c6f7acab5fdc1dd6a4f6943fe8c937347">61d4645</a>)</li>
<li>Add TOO_MANY_TOOL_CALLS to FinishReason enum. (<a href="https://github.com/googleapis/python-genai/commit/a8ec86eab28c2806205fc8ec746b492110113c44">a8ec86e</a>)</li>
<li>Add top-level errors array to Interaction resource (iAPI) (<a href="https://github.com/googleapis/python-genai/commit/c74505b03f53e5bf54b0aed5741267f00703d218">c74505b</a>)</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/googleapis/python-genai/commit/c425b0b91d8ce52417137240234fe6b3b0c018f8"><code>c425b0b</code></a> chore(main): release 2.19.0 (<a href="https://redirect.github.com/googleapis/python-genai/issues/2867">#2867</a>)</li>
<li><a href="https://github.com/googleapis/python-genai/commit/fedd121b35dfdb59aa0d808b6da358d194912a2c"><code>fedd121</code></a> chore: Internal Changes</li>
<li><a href="https://github.com/googleapis/python-genai/commit/599d89fe1b6b4625d1c402a3275d95d8c84f3699"><code>599d89f</code></a> feat: Add IDLE state to live connection status enum and mark REQUIRES_ACTION ...</li>
<li><a href="https://github.com/googleapis/python-genai/commit/e8cd7d001438da2b580c0d65cc429111f1c38442"><code>e8cd7d0</code></a> feat: Add <code>mode</code> enum (<code>VERBATIM</code>, <code>SMART</code>) to <code>AudioTranscriptionConfig</code> and...</li>
<li><a href="https://github.com/googleapis/python-genai/commit/656da7861344603fc122c2d3e6f98f88f7d7fe1e"><code>656da78</code></a> feat: Add enable_data_retention to ToolParallelAiSearch, Add step_count to Re...</li>
<li><a href="https://github.com/googleapis/python-genai/commit/c3bdb8865ce11bfe8d4869fa80c6cb14a469abff"><code>c3bdb88</code></a> feat: add video resolution and extension task parameters</li>
<li><a href="https://github.com/googleapis/python-genai/commit/2dd9537806acbb6d3b9f2e7a8b8e9d7a10d7db2b"><code>2dd9537</code></a> chore(main): release 2.18.1 (<a href="https://redirect.github.com/googleapis/python-genai/issues/2866">#2866</a>)</li>
<li><a href="https://github.com/googleapis/python-genai/commit/f898b61089df672818a6f8832646ae82b59ff9a2"><code>f898b61</code></a> fix: Add gemini 3.7</li>
<li><a href="https://github.com/googleapis/python-genai/commit/65b1890c8a1921fab446d7b53aeaf553821a829e"><code>65b1890</code></a> chore: refresh docs</li>
<li><a href="https://github.com/googleapis/python-genai/commit/3d6b89bd60df3d00aba26c87bcbb21cbda1b3285"><code>3d6b89b</code></a> chore: Update GCS references to Cloud Storage in descriptions</li>
<li>Additional commits viewable in <a href="https://github.com/googleapis/python-genai/compare/v2.10.0...v2.19.0">compare view</a></li>
</ul>
</details>
<br />
[](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`.
[//]: # (dependabot-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
</details>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Bumps google-genai from 2.10.0 to 2.19.0.
Release notes
Sourced from google-genai's releases.
... (truncated)
Changelog
Sourced from google-genai's changelog.
... (truncated)
Commits
c425b0bchore(main): release 2.19.0 (#2867)fedd121chore: Internal Changes599d89ffeat: Add IDLE state to live connection status enum and mark REQUIRES_ACTION ...e8cd7d0feat: Addmodeenum (VERBATIM,SMART) toAudioTranscriptionConfigand...656da78feat: Add enable_data_retention to ToolParallelAiSearch, Add step_count to Re...c3bdb88feat: add video resolution and extension task parameters2dd9537chore(main): release 2.18.1 (#2866)f898b61fix: Add gemini 3.765b1890chore: refresh docs3d6b89bchore: Update GCS references to Cloud Storage in descriptionsDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)Superseded by #112.
Pull request closed