Skip to content

fix: support gemini-3.8-live and warn on api mismatches - #7587

Merged
chenghao-mou merged 3 commits into
mainfrom
chenghao/fix/AGT-3631-gemini-live-vertex
Oct 2, 2026
Merged

chenghao-mou merged 3 commits into
mainfrom
chenghao/fix/AGT-3631-gemini-live-vertex

Conversation

@chenghao-mou

@chenghao-mou chenghao-mou commented Oct 2, 2026 •

Copy link
Copy Markdown
Member

gemini-3.8-live works on Vertex AI. Recognize shared models and warn about API mismatches so availability changes do not block callers, as davidzhao suggested. On the Gemini API, reject thinking_level for gemini-3.8-live and recommend gemini-3.8-live-extended-thinking.

google.realtime.RealtimeModel(
    model="gemini-3.8-live", vertexai=True, project="my-project", location="eu"
)

Akiniesta's report supplied the diagnosis and proposed shared-model handling; this keeps the existing lists.

Addresses AGT-3631 (Linear).

Initial prompt and agent context

Model: GPT-6 Astra

can you investigate AGT-3631?

yeah, that makes sense, please create a PR for this

do we have existing thinking validation for google models?

okay, we can add it in for that model.

okay, can we change the value error about models to warnings? like what dz commented?

The model is available through both APIs. Reject only models known to the
other API and absent from the selected API's list.

Addresses AGT-3631.

Diagnosis and proposed shared-model handling by Akiniesta:
https://community.livekit.io/t/gemini-3-8-live-rejected-with-vertexai-true-in-livekit-plugins-google-although-vertex-ai-serves-it-eu-multi-region/2179

@devin-ai-integration devin-ai-integration Bot 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.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no bugs or issues to report.

Devin Review

The Gemini API rejects thinking_level for gemini-3.8-live with error 1007.
Fail at construction and point callers to the extended-thinking model.
Apply the check to bare and models/ names on the Gemini API.

Addresses AGT-3631.
@chenghao-mou chenghao-mou changed the title fix: allow gemini-3.8-live on vertex ai fix: support gemini-3.8-live on vertex and validate thinking Oct 2, 2026
Model availability can change before the plugin's known model lists are
updated. Log a warning and let the provider decide whether the selected
model is available. Continue to reject unsupported thinking_level settings.

Addresses AGT-3631.

Suggested by David Zhao:
#7587 (comment)

Co-authored-by: David Zhao <david@davidzhao.com>
@chenghao-mou chenghao-mou changed the title fix: support gemini-3.8-live on vertex and validate thinking fix: support gemini-3.8-live and warn on api mismatches Oct 2, 2026
@chenghao-mou
chenghao-mou merged commit 55f2837 into main Oct 2, 2026
23 checks passed
@chenghao-mou
chenghao-mou deleted the chenghao/fix/AGT-3631-gemini-live-vertex branch October 2, 2026 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants