n8n-nodes-supermachine 1.2.2 → 1.2.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.
|
@@ -429,7 +429,9 @@ class Supermachine {
|
|
|
429
429
|
if (!model) {
|
|
430
430
|
throw new Error(`Model "${modelTitle}" not found`);
|
|
431
431
|
}
|
|
432
|
-
|
|
432
|
+
// No dedicated endpoint exists - return model data from list
|
|
433
|
+
returnData.push({ json: model });
|
|
434
|
+
continue;
|
|
433
435
|
}
|
|
434
436
|
else if (operation === 'listModelCategories') {
|
|
435
437
|
requestOptions.url = 'https://dev.supermachine.art/v1/models/categories';
|
|
@@ -92,6 +92,7 @@ exports.getCharacterFields = [
|
|
|
92
92
|
loadOptionsMethod: 'getModels',
|
|
93
93
|
},
|
|
94
94
|
default: '',
|
|
95
|
+
required: true,
|
|
95
96
|
description: 'Filter by compatible model. Choose from the list, or specify an ID using an <a href="https://docs.n8n.io/code-examples/expressions/">expression</a>.',
|
|
96
97
|
},
|
|
97
98
|
],
|
package/package.json
CHANGED