mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-17 08:21:12 -05:00
[GH-ISSUE #23066] issue: Infinite loop when streaming tool message #106873
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 @lywongad on GitHub (Mar 26, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/23066
Check Existing Issues
Installation Method
Docker
Open WebUI Version
0.8.11
Ollama Version (if applicable)
No response
Operating System
Windows 11
Browser (if applicable)
No response
Confirmation
README.md.Expected Behavior
Hi. I am trying to stream a text message and a tool message in OpenAI output format for testing purpose. The endpoint is an OpenAI endpoint hosted in local. No LLM involved, purely Python code. The endpoint streams a text counting number of messages received and show a get_weather tool result. It is expected that Open WebUI streams one text message and one tool message.
Actual Behavior
Open WebUI keep repeating the same text message and tool message. See the screen shot.
Steps to Reproduce
OpenAI API connection:
http://172.23.33.135:8000/v1
Logs & Screenshots
Docker logs:
Additional Information
No response