mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-13 16:14:07 -08:00
feat(AI Transform Node): Show warning for binary data (#11560)
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
Some checks are pending
Test Master / install-and-build (push) Waiting to run
Test Master / Unit tests (18.x) (push) Blocked by required conditions
Test Master / Unit tests (20.x) (push) Blocked by required conditions
Test Master / Unit tests (22.4) (push) Blocked by required conditions
Test Master / Lint (push) Blocked by required conditions
Test Master / Notify Slack on failure (push) Blocked by required conditions
This commit is contained in:
parent
c32cf644a6
commit
ddbb263dce
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue