mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 19:00:59 +03:00
fix for concurrent requests for media handling
This commit is contained in:
@@ -12,8 +12,7 @@ export const injectChainNodeData = (nodeData: INodeData, options: ICommonObject)
|
||||
|
||||
if (model instanceof ChatOpenAI) {
|
||||
// TODO: this should not be static, need to figure out how to pass the nodeData and options to the invoke method
|
||||
ChatOpenAI.chainNodeOptions = options
|
||||
ChatOpenAI.chainNodeData = nodeData
|
||||
ChatOpenAI.injectChainNodeData(nodeData, options)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user