Compare commits

...

3 Commits

Author SHA1 Message Date
Henry c0da5ef962 Merge branch 'main' into bugfix/Empty-Vars 2025-07-17 18:26:49 +01:00
Henry f965bfa091 fix vars and duplicated response 2025-07-17 18:25:27 +01:00
Henry 90641cf69a update workspaceId to vars 2025-07-17 15:31:58 +01:00
2 changed files with 5 additions and 2 deletions

View File

@ -181,7 +181,8 @@ class ExecuteFlow_Agentflow implements INode {
if (selectedFlowId === options.chatflowid) throw new Error('Cannot call the same agentflow!')
let headers: Record<string, string> = {
'Content-Type': 'application/json'
'Content-Type': 'application/json',
'flowise-tool': 'true'
}
if (chatflowApiKey) headers = { ...headers, Authorization: `Bearer ${chatflowApiKey}` }

View File

@ -87,7 +87,9 @@ export class PredictionQueue extends BaseQueue {
return await executeCustomNodeFunction({
appDataSource: this.appDataSource,
componentNodes: this.componentNodes,
data: executeCustomFunctionData.data
data: executeCustomFunctionData.data,
workspaceId: executeCustomFunctionData.workspaceId,
orgId: executeCustomFunctionData.orgId
})
}