n8n-nodes-aimlapi
Version:
Custom n8n node for integrating with the AI/ML API platform (AIMLAPI) to interact with LLMs and multimodal AI models such as chat completion endpoints.
13 lines • 372 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.setIfDefined = setIfDefined;
function setIfDefined(target, key, value) {
if (value === undefined || value === null) {
return;
}
if (typeof value === 'string' && value.trim() === '') {
return;
}
target[key] = value;
}
//# sourceMappingURL=object.js.map