Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: googleapis/python-genai
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.2.0
Choose a base ref
...
head repository: googleapis/python-genai
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.3.0
Choose a head ref
  • 7 commits
  • 15 files changed
  • 5 contributors

Commits on Nov 11, 2026

  1. feat: Add XHIGH and xhigh to ThinkingLevel across GenAI SDKs an…

    …d CLI.
    
    PiperOrigin-RevId: 1019531612
    google-genai-bot authored and copybara-github committed Nov 11, 2026
    Configuration menu
    Copy the full SHA
    300f12f View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2026

  1. feat: add --flavor=interactions-eap packaging and scrub private exports

    PiperOrigin-RevId: 1019609843
    MarkDaoust authored and copybara-github committed Nov 12, 2026
    Configuration menu
    Copy the full SHA
    39f6abe View commit details
    Browse the repository at this point in the history
  2. feat: Add missing enum values to FinishReason and ReinforcementTuning…

    …ThinkingLevel
    
    PiperOrigin-RevId: 1019626832
    jaycee-li authored and copybara-github committed Nov 12, 2026
    Configuration menu
    Copy the full SHA
    b07a895 View commit details
    Browse the repository at this point in the history
  3. docs: update README to reflect breaking changes in major version 3

    PiperOrigin-RevId: 1019666937
    yyyu-google authored and copybara-github committed Nov 12, 2026
    Configuration menu
    Copy the full SHA
    9b13424 View commit details
    Browse the repository at this point in the history
  4. test: restore has_aiohttp after every client test

    `test_custom_client.py`, `test_client_close.py` and `test_aiohttp_retries.py` set the module-level `_api_client.has_aiohttp` flag but never restored it. When `aiohttp` is not installed, `test_constructor_with_httpx_clients` left the flag at `True`, so async uploads in later tests on the same pytest-xdist worker took the aiohttp path and failed with `NameError: name 'aiohttp' is not defined` (for example `tests/gaos/test_environments_lifecycle.py::test_python_environments_async_file_upload_download`). Which tests shared a worker depended on how many tests were collected, so the failure came and went with unrelated changes.
    
    Replace the per-file `reset_has_aiohttp` fixtures with a single autouse fixture in `tests/client/conftest.py`. It saves the original value and restores it after every client test. The old fixtures in `test_async_stream.py`, `test_client_initialization.py` and `test_retries.py` forced the flag to `False` instead, which turned aiohttp off for later tests when it is installed.
    
    Two tests depended on that forced `False` without setting it. `test_client_initializes_httpx_clients_vertex_and_mldev` and `test_vertexai_with_httpx2` now set `has_aiohttp = False` themselves.
    
    Also fix `test_constructor_with_httpx_clients`, which checked `_use_aiohttp()` on the Gemini Developer API client twice and never on the Vertex AI client.
    
    PiperOrigin-RevId: 1019680062
    google-genai-bot authored and copybara-github committed Nov 12, 2026
    Configuration menu
    Copy the full SHA
    6f6dc5d View commit details
    Browse the repository at this point in the history
  5. feat(interactions): add gemini-4-hydrogen to Model enum

    PiperOrigin-RevId: 1020280180
    MarkDaoust authored and copybara-github committed Nov 12, 2026
    Configuration menu
    Copy the full SHA
    4d868c5 View commit details
    Browse the repository at this point in the history
  6. chore(main): release 3.3.0 (#3359)

    Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
    release-please[bot] authored Nov 12, 2026
    Configuration menu
    Copy the full SHA
    6d61831 View commit details
    Browse the repository at this point in the history
Loading