n8n-nodes-akashchat
Version:
n8n community nodes for AkashChat: API for open-source AI models on Akash Supercloud.
32 lines • 1.01 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.AkashChatApi = void 0;
class AkashChatApi {
constructor() {
this.name = 'akashChatApi';
this.displayName = 'Akash Chat API';
this.documentationUrl = 'https://chatapi.akash.network/docs';
this.properties = [
{
displayName: 'API Key',
name: 'apiKey',
type: 'string',
default: '',
description: 'Your Akash Chat API Key. Get it from https://chatapi.akash.network/',
typeOptions: {
password: true,
},
},
];
this.authenticate = {
type: 'generic',
properties: {
headers: {
Authorization: 'Bearer {{$credentials.apiKey}}',
},
},
};
}
}
exports.AkashChatApi = AkashChatApi;
//# sourceMappingURL=AkashChatApi.credentials.js.map