Skip to content

The open alternative to Salesforce, designed for AI.

330 B
Raw Blame
import { type AiChatThreadTriageStatus } from '@/ai/types/AiChatThreadTriageStatus';

export const isAiChatThreadStatusChangeNoOp = ({
  currentStatus,
  nextStatus,
}: {
  currentStatus: AiChatThreadTriageStatus | undefined;
  nextStatus: AiChatThreadTriageStatus;
}) => nextStatus === currentStatus && nextStatus !== 'snoozed';