n8n-nodes-github-copilot 4.4.14 ā 4.4.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -416,7 +416,15 @@ class GitHubCopilotOpenAI {
|
|
|
416
416
|
console.log(' Messages count:', messages.length);
|
|
417
417
|
console.log(' Has Vision Content:', hasVisionContent);
|
|
418
418
|
console.log(' Request body:', JSON.stringify(requestBody, null, 2));
|
|
419
|
-
|
|
419
|
+
let response;
|
|
420
|
+
try {
|
|
421
|
+
response = await (0, utils_1.makeApiRequest)(this, GitHubCopilotEndpoints_1.GITHUB_COPILOT_API.ENDPOINTS.CHAT_COMPLETIONS, requestBody, hasVisionContent);
|
|
422
|
+
}
|
|
423
|
+
catch (error) {
|
|
424
|
+
const errorMsg = error instanceof Error ? error.message : String(error);
|
|
425
|
+
const enhancedError = new n8n_workflow_1.NodeOperationError(this.getNode(), `${errorMsg}\n\nš¤ Model used: ${copilotModel}`);
|
|
426
|
+
throw enhancedError;
|
|
427
|
+
}
|
|
420
428
|
const retriesUsed = ((_h = response._retryMetadata) === null || _h === void 0 ? void 0 : _h.retries) || 0;
|
|
421
429
|
if (retriesUsed > 0) {
|
|
422
430
|
console.log(`ā¹ļø Request completed with ${retriesUsed} retry(ies)`);
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n8n-nodes-github-copilot",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.15",
|
|
4
4
|
"description": "n8n community node for GitHub Copilot with CLI integration, Chat API access, and AI Chat Model for workflows with full tools and function calling support - access GPT-5, Claude, Gemini and more using your Copilot subscription",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/sufficit/n8n-nodes-github-copilot",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n8n-nodes-github-copilot",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.15",
|
|
4
4
|
"description": "n8n community node for GitHub Copilot with CLI integration, Chat API access, and AI Chat Model for workflows with full tools and function calling support - access GPT-5, Claude, Gemini and more using your Copilot subscription",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://github.com/sufficit/n8n-nodes-github-copilot",
|