n8n-nodes-github-copilot 4.4.13 → 4.4.14

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.
@@ -134,6 +134,10 @@ class GitHubCopilotOpenAI {
134
134
  }
135
135
  }
136
136
  }
137
+ if (!mimeType.startsWith('image/')) {
138
+ console.warn(`⚠️ Forcing mime type '${mimeType}' to 'image/jpeg' to bypass schema validation (allowing backend to validate content)`);
139
+ mimeType = 'image/jpeg';
140
+ }
137
141
  const base64 = buffer.toString('base64');
138
142
  const dataUrl = `data:${mimeType};base64,${base64}`;
139
143
  const contentArray = [];
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "n8n-nodes-github-copilot",
3
- "version": "4.4.13",
3
+ "version": "4.4.14",
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.13",
3
+ "version": "4.4.14",
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",