mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
feat(AI Transform Node): Telemetry (no-changelog) (#10398)
This commit is contained in:
@@ -32,7 +32,7 @@ export class AiTransform implements INodeType {
|
||||
properties: [
|
||||
{
|
||||
displayName: 'Instructions',
|
||||
name: 'generate',
|
||||
name: 'instructions',
|
||||
type: 'button',
|
||||
default: '',
|
||||
description:
|
||||
@@ -92,7 +92,7 @@ export class AiTransform implements INodeType {
|
||||
code = this.getNodeParameter(codeParameterName, index) as string;
|
||||
|
||||
if (!code) {
|
||||
const instructions = this.getNodeParameter('generate', index) as string;
|
||||
const instructions = this.getNodeParameter('instructions', index) as string;
|
||||
if (!instructions) {
|
||||
throw new NodeOperationError(node, 'Missing instructions to generate code', {
|
||||
description:
|
||||
|
||||
Reference in New Issue
Block a user