add fixes

This commit is contained in:
Henry
2023-06-14 13:39:38 +01:00
parent 92cd760b16
commit 74939c187a
2 changed files with 2 additions and 2 deletions
@@ -61,7 +61,7 @@ class MultiPromptChain_Chains implements INode {
const obj = { input }
if (options.socketIO && options.socketIOClientId) {
const handler = new CustomChainHandler(options.socketIO, options.socketIOClientId)
const handler = new CustomChainHandler(options.socketIO, options.socketIOClientId, 2)
const res = await chain.call(obj, [handler])
return res?.text
} else {
@@ -61,7 +61,7 @@ class MultiRetrievalQAChain_Chains implements INode {
const obj = { input }
if (options.socketIO && options.socketIOClientId) {
const handler = new CustomChainHandler(options.socketIO, options.socketIOClientId)
const handler = new CustomChainHandler(options.socketIO, options.socketIOClientId, 2)
const res = await chain.call(obj, [handler])
return res?.text
} else {