Phi-4-mini function calling support
Phi-4-mini tools call is in system role , but Ollama not support ? Can you upgrade the tools to support this ?
Not sure what you mean? What the current template is right now - https://ollama.com/library/phi4-mini
We do seem to have the tools in the system role. You might be getting a pydantic error right now? There is a commit to fix that will do a release soon.
I've just tried to use Ollama's python library and Ollama with https://hf.co/unsloth/Phi-4-mini-instruct-GGUF. Seems either ollama-python or ollama fail to recognise the tool calling from the model. Not sure what the problem is.
Could this be an Ollama version issue? Or is this an ollama-python library issue?