// @ts-nocheck // Preventing TS checks with files presented in the video for a better presentation. import { modificationsRegex } from '~/utils/diff'; import { MODEL_REGEX, PROVIDER_REGEX } from '~/utils/constants'; import { Markdown } from './Markdown'; interface UserMessageProps { content: string; } export function UserMessage({ content }: UserMessageProps) { const textContent = sanitizeUserMessage(content); return (