mirror of
https://github.com/open-webui/open-webui.git
synced 2026-03-22 14:13:08 -05:00
issue: Tool calls to the same tool seem to output invalid JSON #5121
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 @signorecello on GitHub (May 9, 2025).
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.7
Ollama Version (if applicable)
0.6.8
Operating System
Debian 12
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Could only test this with Todoist MCP servers (via
mcpo) but both implementations yield the same result so I'm pretty sure this happens with other tools as well.When the model makes multiple calls to the same tool (ex. adding multiple tasks), I would expect them to be run
Actual Behavior
Instead I get a never-ending tool call. Inspecting the JSON, seems like they're not returning valid JSON (separated with commas).
Steps to Reproduce
Logs & Screenshots
You can ignore the memory thing, this still happens without it.
Docker logs:
Additional Information
No response
@tjbck commented on GitHub (May 9, 2025):
Model dependent behaviour, we'd recommend using higher end models.