import { Markdown } from './Markdown'; import { modificationsRegex } from '~/utils/diff'; interface MessageContent { type: string; text?: string; image?: string; } interface UserMessageProps { content: string | MessageContent[]; } export function UserMessage({ content }: UserMessageProps) { return (