[GH-ISSUE #12775] feat: copy message should include thoughts only if displayed #16713

Closed
opened 2026-04-19 22:34:59 -05:00 by GiteaMirror · 2 comments
Owner

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

  • I have searched the existing issues and discussions.

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)

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 - [x] I have searched the existing issues and discussions. ### 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)
Author
Owner

@tjbck commented on GitHub (Apr 12, 2025):

👍

<!-- gh-comment-id:2798949223 --> @tjbck commented on GitHub (Apr 12, 2025): 👍
Author
Owner

@tjbck commented on GitHub (Apr 12, 2025):

Addressed in dev.

<!-- gh-comment-id:2799065700 --> @tjbck commented on GitHub (Apr 12, 2025): Addressed in dev.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#16713