Skip to content
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

[Theia AI] Support anyOf in function parameters #15011

Open
Tracked by #14923
JonasHelming opened this issue Feb 23, 2025 · 0 comments · May be fixed by #15012
Open
Tracked by #14923

[Theia AI] Support anyOf in function parameters #15011

JonasHelming opened this issue Feb 23, 2025 · 0 comments · May be fixed by #15012

Comments

@JonasHelming
Copy link
Contributor

JonasHelming commented Feb 23, 2025

Currenty, functions only support regular properties, no anyOf types. Some MCP servers, namely the official mcp-server-git use anyOf. As the parameter description does not fit the type, not parameter type is passed and the LLM fails to call the function at runtime.

@JonasHelming JonasHelming changed the title Support anyOf in function parameters [Theia AI] Support anyOf in function parameters Feb 23, 2025
JonasHelming added a commit that referenced this issue Feb 23, 2025
- Added support for `anyOf` types in function parameters.
- Modified the language model and added new test cases for validation.
- Ensures compatibility with MCP servers using `anyOf`, like the official `mcp-server-git`.

Fixed #15011
@JonasHelming JonasHelming linked a pull request Feb 23, 2025 that will close this issue
2 tasks
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 a pull request may close this issue.

1 participant