new(all): Auto import for logo, colors and website content.
This commit is contained in:
parent
1e12c39acb
commit
4fb5402987
1 changed files with 3 additions and 1 deletions
|
@ -266,12 +266,14 @@ export class ChatServices {
|
|||
|
||||
let memory;
|
||||
if (user && !this.memoryMap[user.userSystemId]) {
|
||||
this.memoryMap[user.userSystemId] = new BufferWindowMemory({
|
||||
memory = new BufferWindowMemory({
|
||||
returnMessages: true,
|
||||
memoryKey: 'chat_history',
|
||||
inputKey: 'input',
|
||||
k: 2
|
||||
});
|
||||
|
||||
this.memoryMap[user.userSystemId] = memory;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue