feat(webui): add copy action to user messages
This commit is contained in:
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
|
||||
|
||||
Reference in new issue
Block a user