Template
13 lines
508 B
TypeScript
13 lines
508 B
TypeScript
'use client';
|
|
|
|
import type { ComponentType } from 'react';
|
|
import { FirecrawlWebFetchTool } from './firecrawl-web-fetch-tool';
|
|
import { FirecrawlWebSearchTool } from './firecrawl-web-search-tool';
|
|
import type { ToolComponentProps } from './types';
|
|
|
|
// Add a renderer here for each tool that needs a custom presentation.
|
|
export const toolComponents: Record<string, ComponentType<ToolComponentProps> | undefined> = {
|
|
firecrawlWebSearch: FirecrawlWebSearchTool,
|
|
firecrawlWebFetch: FirecrawlWebFetchTool,
|
|
};
|