mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
feat(core): Update LLM applications building support (no-changelog) (#7418)
extracted out of #7336 --------- Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com> Co-authored-by: OlegIvaniv <me@olegivaniv.com> Co-authored-by: Jan Oberhauser <janober@users.noreply.github.com> Co-authored-by: Val <68596159+valya@users.noreply.github.com> Co-authored-by: Alex Grozav <alex@grozav.com> Co-authored-by: Deborah <deborah@starfallprojects.co.uk> Co-authored-by: Jesper Bylund <mail@jesperbylund.com> Co-authored-by: Jon <jonathan.bennetts@gmail.com>
This commit is contained in:
committed by
GitHub
parent
34f3f8001e
commit
91dfc4d513
@@ -2469,6 +2469,10 @@ const addExecutionDataFunctions = async (
|
||||
});
|
||||
}
|
||||
|
||||
if (get(runExecutionData, 'executionData.metadata', undefined) === undefined) {
|
||||
runExecutionData.executionData!.metadata = {};
|
||||
}
|
||||
|
||||
let sourceTaskData = get(runExecutionData, `executionData.metadata[${sourceNodeName}]`);
|
||||
|
||||
if (!sourceTaskData) {
|
||||
@@ -3033,7 +3037,7 @@ export function getExecuteFunctions(
|
||||
};
|
||||
|
||||
try {
|
||||
return await nodeType.supplyData.call(context);
|
||||
return await nodeType.supplyData.call(context, itemIndex);
|
||||
} catch (error) {
|
||||
if (!(error instanceof ExecutionBaseError)) {
|
||||
error = new NodeOperationError(connectedNode, error, {
|
||||
|
||||
Reference in New Issue
Block a user