fix(core): AI agent node data accessibility (#18757)

Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
Csaba Tuncsik
2025-09-01 17:37:16 +02:00
committed by GitHub
parent 897c55aefe
commit f0e9221cb3
6 changed files with 724 additions and 68 deletions

View File

@@ -273,10 +273,15 @@ export const baseFixtures: ExpressionTestFixture[] = [
{
type: 'evaluation',
input: [],
error: new ExpressionError('No execution data available', {
error: new ExpressionError("Node 'node' hasn't been executed", {
runIndex: 0,
itemIndex: -1,
type: 'no_execution_data',
functionality: 'pairedItem',
messageTemplate:
'An expression references this node, but the node is unexecuted. Consider re-wiring your nodes or checking for execution first, i.e. {{ $if( $("{{nodeName}}").isExecuted, <action_if_executed>, "") }}',
descriptionKey: 'pairedItemNoConnection',
nodeCause: 'node',
}),
},
{ type: 'transform' },