feat(AI Transform Node): Show warning for binary data (#11560)

This commit is contained in:
Michael Kret
2024-11-07 14:42:26 +02:00
committed by GitHub
parent c32cf644a6
commit ddbb263dce

View File

@@ -31,6 +31,14 @@ export class AiTransform implements INodeType {
inputs: [NodeConnectionType.Main],
outputs: [NodeConnectionType.Main],
parameterPane: 'wide',
hints: [
{
message:
"This node doesn't have access to the contents of binary files. To use those contents here, use the 'Extract from File' node first.",
displayCondition: '={{ $input.all().some(i => i.binary) }}',
location: 'outputPane',
},
],
properties: [
{
displayName: 'Instructions',