mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 09:00:52 +03:00
add fix for backed chat message
This commit is contained in:
@@ -931,6 +931,7 @@ export const redactCredentialWithPasswordType = (
|
||||
export const checkMemorySessionId = (instance: any, chatId: string): string => {
|
||||
if (instance.memory && instance.memory.isSessionIdUsingChatMessageId && chatId) {
|
||||
instance.memory.sessionId = chatId
|
||||
instance.memory.chatHistory.sessionId = chatId
|
||||
}
|
||||
return instance.memory.sessionId
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user