"use client"; import { Tool, ToolContent, ToolHeader, ToolInput } from "@/components/ai-elements/tool"; import { nanoid } from "nanoid"; const toolCall = { errorText: undefined, input: { include_snippets: true, max_results: 10, query: "latest AI market trends 2024", }, output: undefined, state: "input-streaming" as const, toolCallId: nanoid(), type: "tool-web_search" as const, }; const Example = () => (
); export default Example;