Bugfix/execute custom function to worker (#4440)

* pass execute custom function to worker

* update execute function
This commit is contained in:
Henry Heng
2025-05-16 15:32:21 +08:00
committed by GitHub
parent 0a4570ecda
commit 4786aafddc
2 changed files with 6 additions and 4 deletions
+2 -1
View File
@@ -77,11 +77,12 @@ export class PredictionQueue extends BaseQueue {
}
if (Object.prototype.hasOwnProperty.call(data, 'isExecuteCustomFunction')) {
const executeCustomFunctionData = data as any
logger.info(`Executing Custom Function...`)
return await executeCustomNodeFunction({
appDataSource: this.appDataSource,
componentNodes: this.componentNodes,
data
data: executeCustomFunctionData.data
})
}