import React from "react"; import ReactMarkdown from "react-markdown"; import rehypeRaw from "rehype-raw"; import rehypeSanitize, { defaultSchema } from "rehype-sanitize"; import { Bot, Download, FileText } from "lucide-react"; import { cn, getInitials } from "@/lib/utils"; import { Avatar, AvatarFallback } from "@/components/ui/avatar"; import { Separator } from "@/components/ui/separator"; import type { AiConvAttachment, AiConvChannel, AiConvMessage, AiConvMessageRole, } from "./types"; function MessageAttachments({ attachments, }: { attachments: AiConvAttachment[]; }) { return (
); } // Strips