Merge branch 'main' of github.com:langflow-ai/openrag into feat/new-convo-indicator

This commit is contained in:
Mike Fortman 2025-10-27 13:26:28 -05:00
commit f2ddeb8638

View file

@ -137,6 +137,8 @@ export function ChatProvider({ children }: ChatProviderProps) {
// Clear placeholder when loading a real conversation // Clear placeholder when loading a real conversation
setPlaceholderConversation(null); setPlaceholderConversation(null);
setConversationLoaded(true); setConversationLoaded(true);
// Clear conversation docs to prevent duplicates when switching conversations
setConversationDocs([]);
}, []); }, []);
const startNewConversation = useCallback(() => { const startNewConversation = useCallback(() => {