fix: remove re-run and copy message buttons from ai message component (#437)

This commit is contained in:
Brace Sproul 2025-07-16 18:28:53 -07:00 • committed by GitHub
parent ed85a4c884
commit 928b68fd36
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -724,25 +724,6 @@ export function AssistantMessage({
forceRenderInterrupt={forceRenderInterrupt}
thread={thread}
/>
<div
className={cn(
"mr-auto flex items-center gap-2 transition-opacity",
"opacity-0 group-focus-within:opacity-100 group-hover:opacity-100",
)}
>
<BranchSwitcher
branch={meta?.branch}
branchOptions={meta?.branchOptions}
onSelect={(branch) => thread.setBranch(branch)}
isLoading={isLoading}
/>
<CommandBar
content={contentString}
isLoading={isLoading}
isAiMessage={true}
handleRegenerate={() => handleRegenerate(parentCheckpoint)}
/>
</div>
</span>
)}
</div>