import React from 'react' import { Separator } from '@/components/ui/separator' import { ChatMessage } from '@/components/chat-message' import { ChatMessageModel } from '@/lib/bots/bing/types' export interface ChatList { messages: ChatMessageModel[] } export function ChatList({ messages }: ChatList) { if (!messages.length) { return null } return (