fix lint error and update apikey and clientid attributes

This commit is contained in:
ivalkshfoeif
2023-07-10 00:36:52 -07:00
parent a570893a16
commit f306b89484
@@ -48,12 +48,16 @@ class MotorMemory_Memory implements INode {
label: 'API Key',
name: 'apiKey',
type: 'string',
description: 'Only needed when using hosted solution - https://getmetal.io',
additionalParams: true,
optional: true
},
{
label: 'Client ID',
name: 'clientId',
type: 'string',
description: 'Only needed when using hosted solution - https://getmetal.io',
additionalParams: true,
optional: true
}
]
@@ -68,8 +72,6 @@ class MotorMemory_Memory implements INode {
const chatId = options?.chatId as string
console.log(chatId)
let obj: MotorheadMemoryInput = {
returnMessages: true,
sessionId: sessionId ? sessionId : chatId,