import { useState } from "react"; import { ChevronRightIcon } from "@heroicons/react/20/solid"; import { WrenchScrewdriverIcon } from "@heroicons/react/24/outline"; export interface ToolUse { id: string; toolName: string; input: string; result: string; isError: boolean; durationMs?: number; } export function ToolRow({ tool }: { tool: ToolUse }) { const [open, setOpen] = useState(false); return (
{tool.input}
{tool.result}