mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
feat(core): Update LLM applications building support (no-changelog) (#7710)
extracted out of #7336 --------- Co-authored-by: Jan Oberhauser <jan.oberhauser@gmail.com> Co-authored-by: Oleg Ivaniv <me@olegivaniv.com> Co-authored-by: Alex Grozav <alex@grozav.com>
This commit is contained in:
committed by
GitHub
parent
4a89504d54
commit
117962d473
@@ -176,6 +176,8 @@ export const nodeHelpers = defineComponent({
|
||||
}
|
||||
|
||||
for (const taskData of workflowResultData[node.name]) {
|
||||
if (!taskData) return false;
|
||||
|
||||
if (taskData.error !== undefined) {
|
||||
return true;
|
||||
}
|
||||
@@ -313,11 +315,24 @@ export const nodeHelpers = defineComponent({
|
||||
const parentNodes = workflow.getParentNodes(node.name, input.type, 1);
|
||||
|
||||
if (parentNodes.length === 0) {
|
||||
foundIssues[input.type] = [
|
||||
this.$locale.baseText('nodeIssues.input.missing', {
|
||||
interpolate: { inputName: input.displayName || input.type },
|
||||
}),
|
||||
];
|
||||
// We want to show different error for missing AI subnodes
|
||||
if (input.type.startsWith('ai_')) {
|
||||
foundIssues[input.type] = [
|
||||
this.$locale.baseText('nodeIssues.input.missingSubNode', {
|
||||
interpolate: {
|
||||
inputName: input.displayName?.toLocaleLowerCase() ?? input.type,
|
||||
inputType: input.type,
|
||||
node: node.name,
|
||||
},
|
||||
}),
|
||||
];
|
||||
} else {
|
||||
foundIssues[input.type] = [
|
||||
this.$locale.baseText('nodeIssues.input.missing', {
|
||||
interpolate: { inputName: input.displayName ?? input.type },
|
||||
}),
|
||||
];
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user