'use client'; import React, { useEffect, useRef } from 'react'; import { useChatContext } from './ChatProvider'; import { AIMessageBubble } from './AIMessageBubble'; import { UserMessageBubble } from './UserMessageBubble'; import { cn } from '@/lib/utils'; import type { ControlCenterMessage } from '@/types/control-center'; // ============================================================================= // Types // ============================================================================= interface MessageListProps { className?: string; } // ============================================================================= // System Message Component // ============================================================================= interface SystemMessageProps { message: ControlCenterMessage; } function SystemMessage({ message }: SystemMessageProps) { return (
Ask me anything about your CRM data, create automations, or get help managing your commercial real estate business.