Skip to content

fix: tool requests with pydantic models as parameters appear to be broken #404

Closed

Description

@jakelorocco

Encountered with Ollama while trying to create a finalizer tool for the react example where the finalizer tool as the specified format as its input parameter type (https://github.com/generative-computing/mellea/compare/jal/react-with-finalize-parameter?expand=1).

Ollama was consistently not following the expected format of the parameter. It may be that I was modifying the tool json incorrectly. But we should confirm that tool calls that ask for pydantic BaseModels are adhered to.

We should check Ollama along with the other backends. When this issue is fixed, please open up an issue to fix the react example mentioned above or fix it as a part of this issue.

Activity

  1. added
    bug
    on Feb 3, 2026
  2. akihikokuroda commented on Apr 23, 2026

    @akihikokuroda
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions