mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-24 21:00:51 +03:00
Merge pull request #490 from FlowiseAI/bugfix/SQLDBChain
Bugfix/SQLDBChain Streaming
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user