mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 17:01:00 +03:00
fix lint error and update apikey and clientid attributes
This commit is contained in:
@@ -48,12 +48,16 @@ class MotorMemory_Memory implements INode {
|
|||||||
label: 'API Key',
|
label: 'API Key',
|
||||||
name: 'apiKey',
|
name: 'apiKey',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
description: 'Only needed when using hosted solution - https://getmetal.io',
|
||||||
|
additionalParams: true,
|
||||||
optional: true
|
optional: true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: 'Client ID',
|
label: 'Client ID',
|
||||||
name: 'clientId',
|
name: 'clientId',
|
||||||
type: 'string',
|
type: 'string',
|
||||||
|
description: 'Only needed when using hosted solution - https://getmetal.io',
|
||||||
|
additionalParams: true,
|
||||||
optional: true
|
optional: true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -68,8 +72,6 @@ class MotorMemory_Memory implements INode {
|
|||||||
|
|
||||||
const chatId = options?.chatId as string
|
const chatId = options?.chatId as string
|
||||||
|
|
||||||
console.log(chatId)
|
|
||||||
|
|
||||||
let obj: MotorheadMemoryInput = {
|
let obj: MotorheadMemoryInput = {
|
||||||
returnMessages: true,
|
returnMessages: true,
|
||||||
sessionId: sessionId ? sessionId : chatId,
|
sessionId: sessionId ? sessionId : chatId,
|
||||||
|
|||||||
Reference in New Issue
Block a user