Merge branch 'main' of github.com:langflow-ai/openrag into feat/new-convo-indicator
This commit is contained in:
commit
f2ddeb8638
1 changed files with 2 additions and 0 deletions
|
|
@ -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(() => {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue