JSON schema sent to Gemini is not compatible with Google #6972
Replies: 3 comments 1 reply
-
The codemcp server is not buggy; it works correctly with 3.7 endpoint. I am also able to use it with gemini-2.5-pro with Goose, so I am fairly confident it is a LibreChat MCP handling problem. |
Beta Was this translation helpful? Give feedback.
0 replies
-
It’s more of a Gemini/Google problem. Our only option would be to drop those fields or transform them some other schema. Anthropic and OpenAI both support anyof/oneOf as is, see: |
Beta Was this translation helpful? Give feedback.
0 replies
-
Pushing something soon to drop |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
What happened?
When using the codemcp server, LibreChat generates a schema to be sent to Google endpoints that fails validation. For reference, here is codemcp's single tool's signature:
Version Information
150116e
Steps to Reproduce
What browsers are you seeing the problem on?
No response
Relevant log output
Screenshots
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions