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: v2.17.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: v2.18.0
Choose a head ref
  • 19 commits
  • 65 files changed
  • 7 contributors

Commits on Aug 6, 2026

  1. chore: update test recordings

    PiperOrigin-RevId: 960054249
    MarkDaoust authored and copybara-github committed Aug 6, 2026
    Configuration menu
    Copy the full SHA
    cbeaad0 View commit details
    Browse the repository at this point in the history
  2. chore: update generation

    PiperOrigin-RevId: 960288547
    google-genai-bot authored and copybara-github committed Aug 6, 2026
    Configuration menu
    Copy the full SHA
    5413fdc View commit details
    Browse the repository at this point in the history

Commits on Aug 7, 2026

  1. chore: refresh docs

    PiperOrigin-RevId: 960639532
    MarkDaoust authored and copybara-github committed Aug 7, 2026
    Configuration menu
    Copy the full SHA
    35727d6 View commit details
    Browse the repository at this point in the history
  2. feat(api): make the deferred service tier publicly available on Vertex

    PiperOrigin-RevId: 960685753
    google-genai-bot authored and copybara-github committed Aug 7, 2026
    1 Configuration menu
    Copy the full SHA
    e1f7c40 View commit details
    Browse the repository at this point in the history
  3. feat: enable json schema in FunctionDeclaration parser

    PiperOrigin-RevId: 961007695
    yyyu-google authored and copybara-github committed Aug 7, 2026
    Configuration menu
    Copy the full SHA
    62d50d6 View commit details
    Browse the repository at this point in the history
  4. feat: Add interaction_status to LiveServerContent

    PiperOrigin-RevId: 961081368
    sararob authored and copybara-github committed Aug 7, 2026
    Configuration menu
    Copy the full SHA
    66e224c View commit details
    Browse the repository at this point in the history

Commits on Aug 10, 2026

  1. chore: internal

    PiperOrigin-RevId: 962209435
    speedstorm1 authored and copybara-github committed Aug 10, 2026
    Configuration menu
    Copy the full SHA
    6a4c0b0 View commit details
    Browse the repository at this point in the history
  2. chore(main): release 2.17.0

    Copybara import of the project:
    --
    a13f9bd by release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>:
    
    COPYBARA_INTEGRATE_REVIEW=#2794 from googleapis:release-please--branches--main a13f9bd
    PiperOrigin-RevId: 962282718
    release-please[bot] authored and copybara-github committed Aug 10, 2026
    Configuration menu
    Copy the full SHA
    ccbc6c5 View commit details
    Browse the repository at this point in the history

Commits on Aug 11, 2026

  1. perf: build model validators on first use instead of at import

    Close #2784
    
    PiperOrigin-RevId: 962831329
    google-genai-bot authored and copybara-github committed Aug 11, 2026
    Configuration menu
    Copy the full SHA
    66bfe95 View commit details
    Browse the repository at this point in the history

Commits on Aug 12, 2026

  1. feat: Support injecting httpx2 client.

    Closes #2680
    
    PiperOrigin-RevId: 963182265
    yinghsienwu authored and copybara-github committed Aug 12, 2026
    Configuration menu
    Copy the full SHA
    012804d View commit details
    Browse the repository at this point in the history
  2. No public description

    PiperOrigin-RevId: 963368024
    google-genai-bot authored and copybara-github committed Aug 12, 2026
    Configuration menu
    Copy the full SHA
    288d2ef View commit details
    Browse the repository at this point in the history
  3. perf: lazily import the interactions API to speed up import google.genai

    The top-level package eagerly imported the interactions submodule, and
    client.py eagerly imported the _gaos backend, so every `import
    google.genai` paid for hundreds of interactions-API modules even when the
    caller only uses generate_content.
    
    Defer both: make `interactions` a lazy module attribute via __getattr__,
    and move the _gaos imports in client.py under TYPE_CHECKING plus into the
    Client/AsyncClient properties that construct them. `from __future__ import
    annotations` keeps the property return annotations valid without the eager
    import. The _gaos modules now load only when .interactions/.agents/
    .webhooks (or the nextgen client) are first accessed.
    
    PiperOrigin-RevId: 963526443
    google-genai-bot authored and copybara-github committed Aug 12, 2026
    Configuration menu
    Copy the full SHA
    89dcfe5 View commit details
    Browse the repository at this point in the history
  4. perf: stop importing the requests HTTP stack at module scope

    PiperOrigin-RevId: 963546158
    google-genai-bot authored and copybara-github committed Aug 12, 2026
    Configuration menu
    Copy the full SHA
    3a44936 View commit details
    Browse the repository at this point in the history
  5. test: retry transient errors in the shared integration test clients

    PiperOrigin-RevId: 963617932
    speedstorm1 authored and copybara-github committed Aug 12, 2026
    Configuration menu
    Copy the full SHA
    d485049 View commit details
    Browse the repository at this point in the history
  6. chore: allow httpx2 in GAOS Python SDK

    PiperOrigin-RevId: 963683767
    MarkDaoust authored and copybara-github committed Aug 12, 2026
    Configuration menu
    Copy the full SHA
    4272f27 View commit details
    Browse the repository at this point in the history
  7. chore: drop unused auth imports from the MCP utils module

    PiperOrigin-RevId: 963703979
    google-genai-bot authored and copybara-github committed Aug 12, 2026
    Configuration menu
    Copy the full SHA
    ce444c6 View commit details
    Browse the repository at this point in the history
  8. fix: 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.
    
    PiperOrigin-RevId: 963715749
    yyyu-google authored and copybara-github committed Aug 12, 2026
    Configuration menu
    Copy the full SHA
    fe6118e View commit details
    Browse the repository at this point in the history
  9. feat: Make speech_config a structured object.

    PiperOrigin-RevId: 963727286
    google-genai-bot authored and copybara-github committed Aug 12, 2026
    Configuration menu
    Copy the full SHA
    cc0d42e View commit details
    Browse the repository at this point in the history

Commits on Aug 13, 2026

  1. chore(main): release 2.18.0 (#2830)

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