feat(n8n Evaluation Node): Add pre-defined metrics to the "Set Metrics" operation (#17127)

This commit is contained in:
jeanpaul
2025-07-11 13:58:26 +02:00
committed by GitHub
parent ba7b2d8fd9
commit a34b30acc7
23 changed files with 1975 additions and 146 deletions

View File

@@ -11,7 +11,11 @@ export const useCanvasStore = defineStore('canvas', () => {
const newNodeInsertPosition = ref<XYPosition | null>(null);
const nodes = computed<INodeUi[]>(() => workflowStore.allNodes);
const aiNodes = computed<INodeUi[]>(() =>
nodes.value.filter((node) => node.type.includes('langchain')),
nodes.value.filter(
(node) =>
node.type.includes('langchain') ||
(node.type === 'n8n-nodes-base.evaluation' && node.parameters?.operation === 'setMetrics'),
),
);
const hasRangeSelection = ref(false);