mirror of
https://github.com/Sea-Haven-Industries/open-swe.git
synced 2026-10-02 03:53:18 +00:00
fix: remove re-run and copy message buttons from ai message component (#437)
This commit is contained in:
parent
ed85a4c884
commit
928b68fd36
1 changed files with 0 additions and 19 deletions
|
|
@ -724,25 +724,6 @@ export function AssistantMessage({
|
||||||
forceRenderInterrupt={forceRenderInterrupt}
|
forceRenderInterrupt={forceRenderInterrupt}
|
||||||
thread={thread}
|
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>
|
</span>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue