feat(webui): add copy action to user messages

This commit is contained in:
chengyongru authored and chengyongru committed 2026-07-14 22:41:17 +08:00
1 parent 07f54c25e3
commit f718c69b2d
3 files changed
+96 -53

No files matched your search

@@ -109,7 +109,7 @@ export function ThreadMessages({
) : (
<MessageBubble
message={unit.message}
showAssistantCopyAction={
showCopyAction={
unit.message.role === "assistant"
? copyFlags[index]
: true