add fix to streaming

This commit is contained in:
Henry
2023-07-06 12:02:43 +01:00
parent c78c74f73d
commit c2dde8bf8f
@@ -66,7 +66,7 @@ class SqlDatabaseChain_Chains implements INode {
const chain = await getSQLDBChain(databaseType, dbFilePath, model)
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])
return res
} else {