n8n-nodes-deepseek-new
Version:
A user-friendly DeepSeek AI node, similar to OpenAI, designed to enhance your workflow. npm link: https://www.npmjs.com/package/n8n-nodes-deepseek
37 lines • 1.15 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.DeepSeekApi = void 0;
class DeepSeekApi {
constructor() {
this.name = 'deepSeekApi';
this.displayName = 'DeepSeek API';
this.icon = { light: 'file:DeepSeek.svg', dark: 'file:DeepSeek-dark.svg' };
this.documentationUrl = 'https://platform.deepseek.com/api-docs/';
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: 'http://host.docker.internal:1234/v1',
url: '/models',
},
};
}
}
exports.DeepSeekApi = DeepSeekApi;
//# sourceMappingURL=DeepSeekApi.credentials.js.map