new(all): Auto import for logo, colors and website content.

This commit is contained in:
Rodrigo Rodriguez 2024-05-22 19:26:00 -03:00
parent 1e12c39acb
commit 4fb5402987

View file

@ -266,12 +266,14 @@ export class ChatServices {
let memory; let memory;
if (user && !this.memoryMap[user.userSystemId]) { if (user && !this.memoryMap[user.userSystemId]) {
this.memoryMap[user.userSystemId] = new BufferWindowMemory({ memory = new BufferWindowMemory({
returnMessages: true, returnMessages: true,
memoryKey: 'chat_history', memoryKey: 'chat_history',
inputKey: 'input', inputKey: 'input',
k: 2 k: 2
}); });
this.memoryMap[user.userSystemId] = memory;
} }
else else
{ {