-
Notifications
You must be signed in to change notification settings - Fork 109
Open
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Description
Environment details
- Programming language: TypeScript
- Package version: 1.9.0
Steps to reproduce
This error happens when trying to migrate a client from an older version to a newer one. This is related to MCP configuration changes between versions.
- Upgrade genai client from 1.8.0 to 1.9.0 or 1.10.0. No other changes.
- Try MCP tools defined. Query: What’s the temperature in London?
- The main difference I’ve seen is the configuration request which has changed from using
response
toresponseJsonSchema
. - There may be other issues but the function definition and the client stopping to respond to tool usage is enough.
Reproducible environment
Repo: https://github.com/gsans/gemini-2-live-angular
Developer Tools: check the WebSocket requests.
Metadata
Metadata
Assignees
Labels
priority: p2Moderately-important priority. Fix may not be included in next release.Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.Error or flaw in code with unintended results or allowing sub-optimal usage patterns.