/** * ChatHeader — responsive top bar with provider badge and action buttons. * On mobile: wraps, icon-only buttons, smaller title. */ import React from 'react'; import { MessageSquare, Download, FileText, Trash2, Settings2, Plus } from 'lucide-react'; import { Button } from '@/components/ui/button'; import { Badge } from '@/components/ui/badge'; import type { ChatMessage } from '../types'; import type { ImageAttachment } from '../types'; interface ChatHeaderProps { provider: string; model: string; messages: ChatMessage[]; attachments: ImageAttachment[]; showSettings: boolean; onToggleSettings: () => void; onExportJson: () => void; onExportMarkdown: () => void; onClear: () => void; onNewSession: () => void; } const ChatHeader: React.FC = ({ provider, model, messages, attachments, showSettings, onToggleSettings, onExportJson, onExportMarkdown, onClear, onNewSession, }) => (

Chat

{provider}/{model}
); export default ChatHeader;