Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

feat(assistant-ui): add copy button to user action bar

Steven Enamakel43903c782926
diff --git a/app/src/components/assistant-ui/thread.tsx b/app/src/components/assistant-ui/thread.tsx
index e8380bb502..680dda380e 100644
--- a/app/src/components/assistant-ui/thread.tsx
+++ b/app/src/components/assistant-ui/thread.tsx
@@ -714,6 +714,11 @@ const UserActionBar: FC = () => {
hideWhenRunning
autohide="not-last"
className="aui-user-action-bar-root flex flex-col items-end">
+ <ActionBarPrimitive.Copy asChild>
+ <TooltipIconButton tooltip="Copy response">
+ <CopyIcon />
+ </TooltipIconButton>
+ </ActionBarPrimitive.Copy>
<ActionBarPrimitive.Edit asChild>
<TooltipIconButton tooltip="Edit" className="aui-user-action-edit">
<PencilIcon />