n8n-nodes-vlm 3.3.2 → 3.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -349,6 +349,12 @@ class VLMComplexityWorkflow {
349
349
  };
350
350
  // Add base64 to output if field name is specified
351
351
  if (outputBase64Field && outputBase64Field.trim() !== '' && outputBase64Value) {
352
+ // Remove the source field to avoid duplication (rename, not duplicate)
353
+ const sourceField = imageSource === 'base64field' ? base64Field : null;
354
+ if (sourceField && sourceField !== outputBase64Field && outputJson[sourceField]) {
355
+ delete outputJson[sourceField];
356
+ this.logger.debug(`VLM DEBUG OUTPUT [${i}]: Removed source field '${sourceField}' to avoid duplication`);
357
+ }
352
358
  outputJson[outputBase64Field] = outputBase64Value;
353
359
  this.logger.debug(`VLM DEBUG OUTPUT [${i}]: Added '${outputBase64Field}' = '${outputBase64Value.substring(0, 30)}...'`);
354
360
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-vlm",
3
- "version": "3.3.2",
3
+ "version": "3.3.3",
4
4
  "description": "Vision-Language Models for n8n - Lightweight specialized VLMs for document analysis and classification",
5
5
  "main": "dist/index.js",
6
6
  "author": "Nicolas Geysse",