mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 19:38:46 -05:00
[GH-ISSUE #12775] feat: copy message should include thoughts only if displayed #32242
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 @thiswillbeyourgithub on GitHub (Apr 12, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/12775
Originally assigned to: @tjbck on GitHub.
Check Existing Issues
Problem Description
When clicking on "copy" to copy a message, it is a bit annoying to have to manually remove the
<details>html tag to remove the thoughts if need be.Desired Solution you'd like
I think it would be much better if the thought, tools etc would be included in the copied text only if the user clicked on the drop down button left of it to display it. Basically if the text is hidden it should not be copied. Or put it another way: the "copy" button should only copy what's displayed already.
Alternatives Considered
Manually cleaning up the message.
Additional Context
This of course only concerns models with thinking that do not hide their thoughts (so claude sonnet 3.5 and 3.7 but not google Gemini 2.5)
@tjbck commented on GitHub (Apr 12, 2025):
👍
@tjbck commented on GitHub (Apr 12, 2025):
Addressed in dev.