File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
apps/webapp/app/components/runs/v3/ai Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 11import { useState } from "react" ;
22import { CodeBlock } from "~/components/code/CodeBlock" ;
33import type { AISpanData , ToolDefinition } from "./types" ;
4+ import { Paragraph } from "~/components/primitives/Paragraph" ;
45
56export 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 }
You can’t perform that action at this time.
0 commit comments