mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-29 15:01:11 +03:00
add fix to streaming
This commit is contained in:
@@ -66,7 +66,7 @@ class SqlDatabaseChain_Chains implements INode {
|
|||||||
|
|
||||||
const chain = await getSQLDBChain(databaseType, dbFilePath, model)
|
const chain = await getSQLDBChain(databaseType, dbFilePath, model)
|
||||||
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.run(input, [handler])
|
const res = await chain.run(input, [handler])
|
||||||
return res
|
return res
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user