mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 10:58:17 -05:00
[GH-ISSUE #22786] issue: Reasoning block leak while copying the chat response #35347
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 @a4lg on GitHub (Mar 18, 2026).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/22786
Check Existing Issues
Installation Method
Git Clone
Open WebUI Version
v0.8.8, v0.8.10 dev
Ollama Version (if applicable)
No response
Operating System
Windows 11 (browser)
Browser (if applicable)
Chrome 146.0.7680.80
Confirmation
README.md.Expected Behavior
All chat messages are pretty much the copy of the raw text (not including reasoning blocks and tool call-related blocks).
Actual Behavior
Steps to Reproduce
Reproducing sub-issue 2 is pretty easy.
To reproduce sub-issue 1, an extra care must be taken to ensure that a few backticks "`" are created inside the reasoning block. I used:
Model: Qwen3.5-35B-A3B:UD-Q4_K_XL
Prompt: Write out a few number of backticks.
Logs & Screenshots
Sub-issue 2
Chat
Copied Text
Notice that there an excess new line at the start.
Sub-issue 1
Chat
Copied Text
In this invocation, three backticks are the final output.
Notice that the reasoning block is visible.
Additional Information
This is almost the same issue as #22197 but also applies to the response copy feature.
A follow-up PR after #22237 is to be submitted.
@tjbck commented on GitHub (Mar 21, 2026):
Should be addressed in dev, keep us posted!