mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-29 01:01:11 +03:00
add fixes
This commit is contained in:
@@ -61,7 +61,7 @@ class MultiPromptChain_Chains implements INode {
|
|||||||
const obj = { input }
|
const obj = { input }
|
||||||
|
|
||||||
if (options.socketIO && options.socketIOClientId) {
|
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])
|
const res = await chain.call(obj, [handler])
|
||||||
return res?.text
|
return res?.text
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ class MultiRetrievalQAChain_Chains implements INode {
|
|||||||
const obj = { input }
|
const obj = { input }
|
||||||
|
|
||||||
if (options.socketIO && options.socketIOClientId) {
|
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])
|
const res = await chain.call(obj, [handler])
|
||||||
return res?.text
|
return res?.text
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user