Skip to content

[Theia AI] Support anyOf in function parameters #15011

@JonasHelming

Description

@JonasHelming

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions