ollama / ollama/ollama-python

Phi-4-mini function calling support

Open
#458 2 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
10.5k
Forks
1.2k
Avg merge
4m
Merged PRs (30d)
1

Description

Phi-4-mini tools call is in system role , but Ollama not support ? Can you upgrade the tools to support this ?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the Phi-4-mini function-calling behavior described in the issue and trace how ollama-python handles tools supplied in the system role. Compare the library's current behavior with Ollama's support, then verify that Phi-4-mini tool calls work as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
ollama, python
Domain
ai, backend-api-design
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.