Skip to content

docs(google): clarify Gemini 3.1 realtime limitations#1198

Merged
toubatbrian merged 1 commit into
livekit:mainfrom
rahulmanuwas:docs/google-realtime-3-1-limitations
Apr 3, 2026
Merged

docs(google): clarify Gemini 3.1 realtime limitations#1198
toubatbrian merged 1 commit into
livekit:mainfrom
rahulmanuwas:docs/google-realtime-3-1-limitations

Conversation

@rahulmanuwas
Copy link
Copy Markdown
Contributor

Summary

  • document that generateReply() is not currently compatible with gemini-3.1-flash-live-preview
  • explain that this impacts voice.AgentSession flows that rely on programmatic reply generation
  • clarify that thinkingConfig semantics are model-specific: Gemini 3.1 uses thinkingLevel, while Gemini 2.5 uses thinkingBudget
  • improve the runtime error message to point users toward a Gemini 2.5 live model when they need generateReply()-driven flows

Closes #1197.

Validation

  • pnpm --filter @livekit/agents-plugin-google... build
  • pnpm vitest run plugins/google/src/llm.test.ts plugins/google/src/beta/gemini_tts.test.ts (the Gemini TTS test still requires GOOGLE_API_KEY in this environment)

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 3, 2026

⚠️ No Changeset found

Latest commit: ae039a5

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 3, 2026

CLA assistant check
All committers have signed the CLA.

Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration Bot left a comment

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 potential bugs to report.

View in Devin Review to see 2 additional findings.

Open in Devin Review

@toubatbrian toubatbrian merged commit c773698 into livekit:main Apr 3, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

google realtime: generateReply() throws for gemini-3.1-flash-live-preview, breaking voice.AgentSession tool flows

3 participants