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.