import { ProviderIcon } from '@lobehub/icons'; import Tavily from '@lobehub/icons/es/Tavily'; import { Search as SearchIcon } from 'lucide-react'; /** Renders the correct icon for a given SearchProviderType */ export function SearchProviderTypeIcon({ type, size = 20 }: { type: string; size?: number }) { switch (type) { case 'tavily': return ; case 'zhipu': return ; case 'bocha': return Bocha; default: return ; } } export const PROVIDER_TYPE_LABELS: Record = { tavily: 'Tavily', zhipu: '智谱', bocha: '博查', };