Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

302 B
Raw Blame
import { type ConversationContext } from '@lobechat/types';

import { messageMapKey } from '@/store/chat/utils/messageMapKey';

export const isSameConversationContext = (
  expected: ConversationContext,
  current: ConversationContext,
): boolean => messageMapKey(expected) === messageMapKey(current);