mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[GH-ISSUE #15690] issue: tool calls fail when model makes multiple tool calls in one response #33169
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 @Master-Pr0grammer on GitHub (Jul 13, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/15690
Check Existing Issues
Installation Method
Pip Install
Open WebUI Version
v0.6.15
Ollama Version (if applicable)
0.9.6
Operating System
Ubuntu 24.04.1
Browser (if applicable)
Chrome
Confirmation
README.md.Expected Behavior
when the model calls two tools, they should be both be executed individually (in order).
Actual Behavior
openwebui gets confused and just ends the chat completion run.
for example if the tool is print(str), and it gets called twice, openwebui will output
Executing printprint..., and immediately end there without executing or continuing to generate the next responseSteps to Reproduce
Logs & Screenshots
index.js:1183 [tiptap warn]: Duplicate extension names found: ['codeBlock']. This can lead to issues.
resolve @ index.js:1183
ResponseMessage.svelte:573 [Violation] Added non-passive event listener to a scroll-blocking 'wheel' event. Consider marking event handler as 'passive' to make the page more responsive. See https://www.chromestatus.com/feature/5745543795965952
(anonymous) @ ResponseMessage.svelte:573
Additional Information
This is not a model problem, i have tried several models, and all of them had the same issue in openwebui. when i run the same prompt through my own ollama api based script, it has no issues calling the tools.
@GlisseManTV commented on GitHub (Jul 13, 2025):
Hi multiples posts are already answered yet.
It's about an tool ID/name in code.
You could check this :
PR14680
I13726
I14583
and more
Empty field is from 0.6.15 and after.
on 0.6.14 you'll have wrong tool call.
@tjbck commented on GitHub (Jul 14, 2025):
Could you confirm if this is still the case with 0.6.16? We were unable to reproduce with higher end models like
gpt-4.1. Keep us updated!