UNPKG

n8n-nodes-qwen

Version:

A user-friendly Qwen AI node, similar to OpenAI, designed to enhance your workflow. npm link: https://www.npmjs.com/package/n8n-nodes-qwen

37 lines 1.12 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.QwenApi = void 0; class QwenApi { constructor() { this.name = 'qwenApi'; this.displayName = 'Qwen API'; this.icon = { light: 'file:Qwen.png', dark: 'file:Qwen.png' }; this.documentationUrl = 'https://bailian.console.aliyun.com/'; this.properties = [ { displayName: 'API Key', name: 'apiKey', type: 'string', typeOptions: { password: true }, required: true, default: '', } ]; this.authenticate = { type: 'generic', properties: { headers: { Authorization: '=Bearer {{$credentials.apiKey}}' }, }, }; this.test = { request: { baseURL: 'https://dashscope.aliyuncs.com/compatible-mode/v1', url: '/models', }, }; } } exports.QwenApi = QwenApi; //# sourceMappingURL=QwenApi.credentials.js.map