n8n-nodes-cheapai
Advanced tools
Comparing version 0.0.3 to 0.0.4
@@ -11,2 +11,9 @@ "use strict"; | ||
{ | ||
displayName: 'API URL', | ||
name: 'apiUrl', | ||
type: 'string', | ||
default: 'https://api.openai.com/', | ||
description: 'Enter your API URL. If left empty, it will default to OpenAI API URL.', | ||
}, | ||
{ | ||
displayName: 'API Key', | ||
@@ -38,3 +45,3 @@ name: 'apiKey', | ||
request: { | ||
baseURL: 'https://api.daku.tech/', | ||
baseURL: '={{$credentials.apiUrl}}', | ||
url: '/v1/models', | ||
@@ -41,0 +48,0 @@ }, |
@@ -30,6 +30,14 @@ "use strict"; | ||
ignoreHttpStatusErrors: true, | ||
baseURL: 'https://api.daku.tech/', | ||
baseURL: 'https://api.openai.com/', | ||
}, | ||
properties: [ | ||
{ | ||
displayName: 'API URL', | ||
name: 'apiUrl', | ||
type: 'string', | ||
default: '', | ||
placeholder: 'https://api.openai.com/', | ||
description: 'Enter your API URL. If left empty, it will default to OpenAI API URL.', | ||
}, | ||
{ | ||
displayName: 'Resource', | ||
@@ -36,0 +44,0 @@ name: 'resource', |
{ | ||
"name": "n8n-nodes-cheapai", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "This is a simple node that allows you to insert a custom API Url for AI", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
{ | ||
"name": "n8n-nodes-cheapai", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"description": "This is a simple node that allows you to insert a custom API Url for AI", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
133133
1963