[GH-ISSUE #15444] IQ4/IQ3 GGUF model doesn't support function/tool calling #56382

Open
opened 2026-04-29 10:44:41 -05:00 by GiteaMirror · 3 comments
Owner

Originally created by @unbug on GitHub (Apr 9, 2026).
Original GitHub issue: https://github.com/ollama/ollama/issues/15444

What is the issue?

I serve unsoloth GGUF models with ollama, both codex and vscode copilot are throw no function calling/tools support error, it works fine in openweui. such as https://huggingface.co/unsloth/Qwen3-Coder-Next-GGUF/blob/main/Qwen3-Coder-Next-UD-IQ4_NL.gguf.

Relevant log output


OS

No response

GPU

No response

CPU

No response

Ollama version

No response

Originally created by @unbug on GitHub (Apr 9, 2026). Original GitHub issue: https://github.com/ollama/ollama/issues/15444 ### What is the issue? I serve unsoloth GGUF models with ollama, both codex and vscode copilot are throw no function calling/tools support error, it works fine in openweui. such as https://huggingface.co/unsloth/Qwen3-Coder-Next-GGUF/blob/main/Qwen3-Coder-Next-UD-IQ4_NL.gguf. ### Relevant log output ```shell ``` ### OS _No response_ ### GPU _No response_ ### CPU _No response_ ### Ollama version _No response_
GiteaMirror added the bug label 2026-04-29 10:44:41 -05:00
Author
Owner

@rick-github commented on GitHub (Apr 9, 2026):

Tool capability is enabled in the model template. Models downloaded from the ollama library have the appropriate template, models from other repos need to have the template added.

echo FROM hf.co/unsloth/Qwen3-Coder-Next-UD-IQ4_NL > Modelfile
ollama show --modelfile qwen3-coder-next:q4_K_M | grep -v FROM >> Modelfile
ollama create qwen3-coder-next:iq4_nl
<!-- gh-comment-id:4212365385 --> @rick-github commented on GitHub (Apr 9, 2026): Tool capability is enabled in the model template. Models downloaded from the ollama library have the appropriate template, models from other repos need to have the template added. ``` echo FROM hf.co/unsloth/Qwen3-Coder-Next-UD-IQ4_NL > Modelfile ollama show --modelfile qwen3-coder-next:q4_K_M | grep -v FROM >> Modelfile ollama create qwen3-coder-next:iq4_nl ```
Author
Owner

@unbug commented on GitHub (Apr 9, 2026):

Tool capability is enabled in the model template. Models downloaded from the ollama library have the appropriate template, models from other repos need to have the template added.

echo FROM hf.co/unsloth/Qwen3-Coder-Next-UD-IQ4_NL > Modelfile
ollama show --modelfile qwen3-coder-next:q4_K_M | grep -v FROM >> Modelfile
ollama create qwen3-coder-next:iq4_nl

appreciated, I though ollama pull should do all the tricks

<!-- gh-comment-id:4215402390 --> @unbug commented on GitHub (Apr 9, 2026): > Tool capability is enabled in the model template. Models downloaded from the ollama library have the appropriate template, models from other repos need to have the template added. > > ``` > echo FROM hf.co/unsloth/Qwen3-Coder-Next-UD-IQ4_NL > Modelfile > ollama show --modelfile qwen3-coder-next:q4_K_M | grep -v FROM >> Modelfile > ollama create qwen3-coder-next:iq4_nl > ``` appreciated, I though `ollama pull` should do all the tricks
Author
Owner

@PureBlissAK commented on GitHub (Apr 18, 2026):

🤖 Automated Triage & Analysis Report

Issue: #15444
Analyzed: 2026-04-18T18:21:00.186879

Analysis

  • Type: unknown
  • Severity: medium
  • Components: unknown

Implementation Plan

  • Effort: medium
  • Steps:

This issue has been triaged and marked for implementation.

<!-- gh-comment-id:4274307557 --> @PureBlissAK commented on GitHub (Apr 18, 2026): <!-- ollama-issue-orchestrator:v1 issue:15444 --> ## 🤖 Automated Triage & Analysis Report **Issue**: #15444 **Analyzed**: 2026-04-18T18:21:00.186879 ### Analysis - **Type**: unknown - **Severity**: medium - **Components**: unknown ### Implementation Plan - **Effort**: medium - **Steps**: *This issue has been triaged and marked for implementation.*
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama#56382