mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 21:09:41 -05:00
[GH-ISSUE #17062] issue: tool output replaced with citation when string contains inline citation #18159
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 @daradib on GitHub (Aug 31, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/17062
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.26
Ollama Version (if applicable)
No response
Operating System
Ubuntu 24.04
Browser (if applicable)
Firefox 142.0.1
Confirmation
README.md.Expected Behavior
When a tool emits citations and returns a string containing an inline citation reference like "[1]", the tool dropdown box should remain visible.
Actual Behavior
The entire tool dropdown box (e.g.,
<details id="__DETAIL_0__"/>) is replaced with a citation. The tool output is lost from the UI. Often part of the output text is also hidden.Steps to Reproduce
Logs & Screenshots
The "perplexity_web_search" tool output dropdown has been replaced with a citation (en.wikipedia.org) and the first line of model output is missing.
Additional Information
No response
@daradib commented on GitHub (Aug 31, 2025):
I modified Perplexity Web Search (OpenRouter) and Linkup Web Search to strip out citation references as a workaround. To reproduce with those tools, change the
cleanfunction to a no-op (return s).