import type { ChatMessage as ChatMsg } from '{{PACKAGE_SCOPE}}/core/shared/types.js'; import { MODEL_COLORS, MODEL_LABELS } from '{{PACKAGE_SCOPE}}/core/shared/types.js'; interface ChatMessageProps { message: ChatMsg; showModelTag?: boolean; } export function ChatMessage({ message, showModelTag = false }: ChatMessageProps) { const isUser = message.role === 'user'; const color = MODEL_COLORS[message.model]; return (