Skip to content

Update dependency google-genai to v2.31.0 - #920

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/google-genai-2.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/google-genai-2.x

Conversation

@renovate

@renovate renovate Bot commented Oct 19, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
google-genai ==2.29.0 → ==2.31.0 age confidence
google-genai ~=2.29.0 → ~=2.31.0 age confidence
google-genai >=2.29.0 → >=2.31.0 age confidence

Warning

Some dependencies could not be looked up. Check the Dependency Dashboard for more information.


Release Notes

googleapis/python-genai (google-genai)

v2.31.0

Compare Source

Features
  • interactions: Add gemini-4-argon to Model enum (8554b07)
Bug Fixes
  • Clear continuation state and preserve prompt feedback when continuation hop returns no candidates (a0d809c)
  • Fix the function declaration parser for union types. Fixes #​3060 (be32e9e)
  • Fix the grounding metadata merging for automatic continuation in generate content and generate content stream (f1499bb)
  • Make continuation streams retry dropped hops, stop on prompt_feedback, and keep real errors in generate_content (339a929)
  • Match the mTLS endpoint to each transport's SSL context, including plain aiohttp (f8a4693)

v2.30.1

Compare Source

Bug Fixes
  • Concatenate output_text across multi-step model responses in a turn (180c345)

v2.30.0

Compare Source

Features
  • Accumulate streaming continuation usage metadata and expose initial_prompt_token_count (b27f3cd)
  • Add continuation_token to the Interactions interaction.status_update event. (02db4c5)
  • Add a CONTINUATION_REQUIRED Interaction status (bf9d6d7)
  • Add billable token counts fields (6a6501c)
  • Add startOffset/endOffset to Transcription and interimTranscriptTimestampEnabled to RealtimeInputConfig (c644a94)
  • Add usage in InteractionStatusUpdate events (56c3a1a)
  • Allow automatic resumption of continuation token for in generate content and generate content stream. Default behavior for this feature is disabled (83e43ea)
  • cli: Update Speakeasy generator to v2.948.0, bump CLI to v0.4.2, and apply CLI overlay fixes (cdcd3dd)
  • Enable automatic continuation token resumption for chats module. (9ebf714)
Bug Fixes
  • Clear intermediate CONTINUATION finish_reason in streaming continuation (8a641d8)
  • Do not record incomplete continuation stream turns in curated chat history (b382e01)
  • gemini-api-cli: Remove unsupported 2.5 and 1.6 models from Interactions model options and CLI examples (fe5fb10)
  • genai: Deduplicate Flash and Omni descriptions in ModelOption (33efaad)
  • interactions: Restore super().model_construct in Interaction model validator (ccd5dd3)
  • python: Discard stale checkpoint token on non-resumable finish reason (f44e8ee)
  • Raise default HTTP timeouts so long-running requests aren't killed client-side (b006b4b)
  • Resume streaming generation from the latest checkpoint continuation token on mid-stream errors or cutoffs (90bb32b)
  • Update EnvironmentConfig.env schema to map keys to EnvVar or string. (3108d8c)
  • Use the mTLS endpoint on the httpx and websocket transports (97d5821)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "before 8am on Monday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copilot AI balanced review requested due to automatic review settings October 19, 2026 07:35
@renovate
renovate Bot requested a review from a team as a code owner October 19, 2026 07:35
@opentelemetry-pr-dashboard

opentelemetry-pr-dashboard Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Pull request dashboard status

Waiting on maintainers · refreshed 2026-10-19 12:51 UTC

Merge when ready.

Status above doesn't look right?
  • Just replied or pushed? Anything around or after the refresh time above may not be picked up yet — give it a few minutes.
  • Anything look wrong? Report it with what you expected; it helps us improve the dashboard.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

These dependency-only updates remain within the supported SDK range, with no blocking issues identified.

No open issues 🎉

What changed in this PR

Updates Google GenAI SDK dependencies from 2.29.0 to 2.31.0 across tests, examples, and documentation.

Changes:

  • Pins latest-version tests to 2.31.0.
  • Updates both examples to the 2.31 patch series.
  • Raises the documentation dependency minimum to 2.31.0.
File Description
instrumentation/​opentelemetry-instrumentation-google-genai/​tests/​requirements.latest.txt Updates the latest SDK test pin.
instrumentation/​opentelemetry-instrumentation-google-genai/​examples/​zero-code/​requirements.txt Updates the zero-code example dependency.
instrumentation/​opentelemetry-instrumentation-google-genai/​examples/​manual/​requirements.txt Updates the manual example dependency.
docs-requirements.txt Raises the SDK minimum for documentation.

Review effort: Balanced

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants