mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[GH-ISSUE #16076] issue: llama4:latest tool calling results in JSON being sent back to the user #56441
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @vrurg on GitHub (Jul 27, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/16076
Check Existing Issues
Installation Method
Docker
Open WebUI Version
0.6.18
Ollama Version (if applicable)
0.9.6
Operating System
macOS Sequoia 15.5
Browser (if applicable)
Firefox 141
Confirmation
README.md.Expected Behavior
Tool must have been called the same way is it happens for other tool-supporting models.
Actual Behavior
I'm developing an MCP/OpenAPI server. The first tool I use as a playground to study the technology is a web fetch. The tool works well with models like qwen3, llama3.3, llama3.1 – but fails with llama4. What happens is that when given a simple request like "Give me a summary of the following page: https://tinyurl.com/3tumnxb6" the chat responds with a seemingly correct JSON body of the request like the following:
Model's "Function Calling" parameter is set to "Native". With "Default" the model just fails to discover the tool.
curltest for ollama ended with successful outcome, at least to my naive eye:Steps to Reproduce
Logs & Screenshots
Docker logs has no irregularities:
Additional Information
No response
@tjbck commented on GitHub (Jul 28, 2025):
I presume this is a model template issue and must be addressed on Ollama repo.