feat(webui): add copy action to user messages

This commit is contained in:
chengyongru
2026-07-14 22:41:17 +08:00
committed by chengyongru
parent 07f54c25e3
commit f718c69b2d
3 changed files with 96 additions and 53 deletions
@@ -109,7 +109,7 @@ export function ThreadMessages({
) : (
<MessageBubble
message={unit.message}
showAssistantCopyAction={
showCopyAction={
unit.message.role === "assistant"
? copyFlags[index]
: true