import type { ApiLLMSettings } from '@/lib/contacts/discovery-types'

export function isLLMConfigured(settings?: ApiLLMSettings): boolean {
  if (!settings?.providers?.length) return false
  return settings.providers.some((p) => Boolean(p.base_url?.trim()))
}
