Skip to content

Commit e372fa0

Browse files
samejrericallam
authored andcommitted
toolCall doesn’t get wrapped in chat div
1 parent a262c7a commit e372fa0

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

apps/webapp/app/components/runs/v3/ai/AIChatMessages.tsx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -212,13 +212,11 @@ function ToolUseSection({ tools }: { tools: ToolUse[] }) {
212212
return (
213213
<div className="flex flex-col gap-1.5 py-2.5">
214214
<SectionHeader label={tools.length === 1 ? "Tool call" : `Tool calls (${tools.length})`} />
215-
<ChatBubble>
216-
<div className="flex flex-col gap-2">
217-
{tools.map((tool) => (
218-
<ToolUseRow key={tool.toolCallId} tool={tool} />
219-
))}
220-
</div>
221-
</ChatBubble>
215+
<div className="flex flex-col gap-2">
216+
{tools.map((tool) => (
217+
<ToolUseRow key={tool.toolCallId} tool={tool} />
218+
))}
219+
</div>
222220
</div>
223221
);
224222
}

0 commit comments

Comments
 (0)