import { useId } from "react"; import type { ReactNode } from "react"; import type { IntelligenceTool } from "./intelligenceApi"; export default function PromptView({ tools, children }: { tools: IntelligenceTool[]; children: ReactNode }) { const toolsId = useId(); return
{children}

Tools

{tools.length ? :

No tools.

}
; }