import { ChatStoreMessage } from "@/types/chatstore"; import { getMessageText } from "@/chatgpt"; import { Badge } from "./components/ui/badge"; interface Props { chat: ChatStoreMessage; } export function MessageHide({ chat }: Props) { return ( <>
{getMessageText(chat).split("\n")[0].slice(0, 28)} ...
Removed from context
); }