Skip to content

Commit 4a48a27

Browse files
samejrericallam
authored andcommitted
Use proper paragraph component
1 parent 3158289 commit 4a48a27

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
import { useState } from "react";
22
import { CodeBlock } from "~/components/code/CodeBlock";
33
import type { AISpanData, ToolDefinition } from "./types";
4+
import { Paragraph } from "~/components/primitives/Paragraph";
45

56
export function AIToolsInventory({ aiData }: { aiData: AISpanData }) {
67
const defs = aiData.toolDefinitions ?? [];
78
const calledNames = getCalledToolNames(aiData);
89

910
if (defs.length === 0) {
1011
return (
11-
<div className="px-3 py-6 text-center text-xs text-text-dimmed">
12-
No tool definitions available for this span.
12+
<div className="px-3 py-6 text-center">
13+
<Paragraph variant="small/dimmed">No tool definitions available for this span.</Paragraph>
1314
</div>
1415
);
1516
}

0 commit comments

Comments
 (0)