-
Notifications
You must be signed in to change notification settings - Fork 201
Enable thinking config gemini realtime #930
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…he top-level of the session configuration.
…rt logic by clearing active sessions earlier, waking up old message queues, and ensuring proper session state transitions on error or unexpected closure.
🦋 Changeset detectedLatest commit: 052f67c The changes in this PR will be included in the next version bump. This PR includes changesets to release 16 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
| @@ -0,0 +1,5 @@ | |||
| --- | |||
| "@livekit/agents-plugin-google": minor | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
could you make it a patch bump?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LG! Could you also include a link to a video showing a simple conversation with this change, just to make sure it works properly. Thanks
Description
Adds support for passing a thinkingConfig option through the Google LiveKit plugin Realtime API so callers can control Gemini’s thinking behavior during response generation. Also updates the Google GenAI SDK dependency to a newer version. This version bump is needed to expose the thinkingConfig field.
I'm introducing this change to be able to disable thinking on realtime modesl because dynamic thinking is enabled by default.
Changes Made
Pre-Review Checklist
Testing
Make sure bothN/A but testing using my own agentrestaurant_agent.tsandrealtime_agent.tswork properly (for major changes)Additional Notes
Note to reviewers: Please ensure the pre-review checklist is completed before starting your review.