diff --git a/src/provider/ChatProvider.tsx b/src/provider/ChatProvider.tsx index 4784ef6..2df2349 100644 --- a/src/provider/ChatProvider.tsx +++ b/src/provider/ChatProvider.tsx @@ -68,6 +68,7 @@ type ChatContextProps = ChatState & { setCurrentMessage: (message: string) => void; resetState: () => void; service: IChatService; + removeMessagesFromConversation: (conversationId: ConversationId) => void; }; // Experimental @@ -573,6 +574,7 @@ export const ChatProvider = ({ resetState, updateState, service: serviceRef.current, + removeMessagesFromConversation, }} > {children}