You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently the Ollama provider makes HTTP calls to the Ollama API (the /api/chat endpoint). However, currently tool calling/automatic tool execution is not working. Tool calls are discarded from the response, and the Ollama API responses don't have tool ids, so they don't fit the AISuite model.
Ollama is partially compatible with the OpenAI API. I tested this and the OpenAI API does return tool ids, making it compatible with AISuite.
So I'd suggest to use the OpenAI library for the Ollama provider so that things like tool calling work better in AISuite. If this is OK I can look into creating a PR.