n8n-nodes-vlm 2.0.7 → 2.0.8

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.
@@ -75,9 +75,9 @@ async function classifyDocumentComplexity(context, serverUrl, document, timeout)
75
75
  });
76
76
  (_d = context.logger) === null || _d === void 0 ? void 0 : _d.debug(`VLM Classification: Received response: ${JSON.stringify(response)}`);
77
77
  return {
78
- complexity: response.complexity || response.classification || 'LOW',
78
+ complexity: response.class_name || response.complexity || response.classification || 'LOW',
79
79
  confidence: response.confidence,
80
- processingTime: response.processing_time || response.processingTime,
80
+ processingTime: response.processing_time || response.processingTime || response.latency_ms,
81
81
  modelUsed: response.model || 'VLM-Classifier',
82
82
  };
83
83
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-vlm",
3
- "version": "2.0.7",
3
+ "version": "2.0.8",
4
4
  "description": "Vision-Language Models for n8n - Lightweight specialized VLMs for document analysis and classification",
5
5
  "main": "index.js",
6
6
  "author": "Nicolas Geysse",