n8n-nodes-github-copilot 4.4.6 → 4.4.7
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.
|
@@ -114,7 +114,7 @@ class GitHubCopilotOpenAI {
|
|
|
114
114
|
content: msg.content,
|
|
115
115
|
};
|
|
116
116
|
const msgType = msg.type || 'text';
|
|
117
|
-
if (msgType === '
|
|
117
|
+
if (msgType === 'file_binary') {
|
|
118
118
|
const binaryKeyData = items[i].binary;
|
|
119
119
|
const keyToUse = msg.binaryPropertyName || 'data';
|
|
120
120
|
if (binaryKeyData && binaryKeyData[keyToUse]) {
|
|
@@ -150,6 +150,9 @@ class GitHubCopilotOpenAI {
|
|
|
150
150
|
throw new n8n_workflow_1.NodeOperationError(this.getNode(), `Binary property '${keyToUse}' not found. Available binary properties: ${available}`, { itemIndex: i });
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
|
+
else if (msgType === 'file') {
|
|
154
|
+
message.type = 'file';
|
|
155
|
+
}
|
|
153
156
|
else if (msg.type && (msg.type === 'text' || msg.type === 'image_url')) {
|
|
154
157
|
message.type = msg.type;
|
|
155
158
|
}
|
|
@@ -116,13 +116,18 @@ exports.nodeProperties = [
|
|
|
116
116
|
description: 'Regular text message',
|
|
117
117
|
},
|
|
118
118
|
{
|
|
119
|
-
name: 'File',
|
|
119
|
+
name: 'File (URL / Base64)',
|
|
120
120
|
value: 'file',
|
|
121
|
+
description: 'File attachment using URL or Base64 string',
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
name: 'File (Binary)',
|
|
125
|
+
value: 'file_binary',
|
|
121
126
|
description: 'File attachment from binary input',
|
|
122
127
|
},
|
|
123
128
|
],
|
|
124
129
|
default: 'text',
|
|
125
|
-
description: 'The type of message content
|
|
130
|
+
description: 'The type of message content',
|
|
126
131
|
},
|
|
127
132
|
{
|
|
128
133
|
displayName: 'Input Binary Field',
|
|
@@ -132,7 +137,7 @@ exports.nodeProperties = [
|
|
|
132
137
|
required: true,
|
|
133
138
|
displayOptions: {
|
|
134
139
|
show: {
|
|
135
|
-
type: ['
|
|
140
|
+
type: ['file_binary'],
|
|
136
141
|
},
|
|
137
142
|
},
|
|
138
143
|
description: 'The name of the binary property that contains the file to upload',
|
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.7",
|
|
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.7",
|
|
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",
|