import React from 'react'; import { cn } from '../../../lib/utils'; /** * Small pill showing the current chat mode and agent name when applicable. */ export type ModeBadgeProps = { mode: 'personal' | 'hcs10'; agentName?: string; }; export function ModeBadge(props: ModeBadgeProps) { const { mode, agentName } = props; const isPersonal = mode === 'personal'; return (
{isPersonal ? 'Personal Assistant' : `HCS-10: ${agentName || ''}`}
); } export default ModeBadge;