mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 17:01:00 +03:00
Feature/Buffer Memory SessionId (#2111)
* add sessionId to buffer memory, add conversation summary buffer memory * add fix for conv retrieval qa chain
This commit is contained in:
@@ -519,11 +519,10 @@ export const formatDataGridRows = (rows) => {
|
||||
}
|
||||
}
|
||||
|
||||
export const setLocalStorageChatflow = (chatflowid, chatId, chatHistory) => {
|
||||
export const setLocalStorageChatflow = (chatflowid, chatId) => {
|
||||
const chatDetails = localStorage.getItem(`${chatflowid}_INTERNAL`)
|
||||
const obj = {}
|
||||
if (chatId) obj.chatId = chatId
|
||||
if (chatHistory) obj.chatHistory = chatHistory
|
||||
|
||||
if (!chatDetails) {
|
||||
localStorage.setItem(`${chatflowid}_INTERNAL`, JSON.stringify(obj))
|
||||
|
||||
Reference in New Issue
Block a user