Skip to content

Commit 2563264

Browse files
committed
cleanup
1 parent 9aa7c59 commit 2563264

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

apps/dashboard/app/(main)/websites/[id]/agent/_components/agent-messages.tsx

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,11 +143,8 @@ function ToolMessage({
143143

144144
const shouldBeOpen = hasBeenStreaming || hasCompleted;
145145

146-
const toolKey =
147-
(toolPart.toolCallId as `tool-${string}`) ?? (`tool-${partIndex}` as const);
148-
149146
return (
150-
<Tool defaultOpen={shouldBeOpen} key={toolKey}>
147+
<Tool defaultOpen={shouldBeOpen}>
151148
<ToolHeader
152149
state={state}
153150
type={

0 commit comments

Comments
 (0)