+
+ {label}
+
+
+ {conversations.map((conversation) => (
+
+ ))}
+
+
+ )
+}
+
+export const ChatHistory: FC = () => {
+ const { conversations, removeConversation } = useConversations()
+ const { conversationId: activeConversationId } = useChatSessionContext()
+
+ const groupedConversations = useMemo