n8n-nodes-github-copilot 3.5.2 → 3.6.0
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.
|
@@ -117,7 +117,7 @@ class GitHubCopilotChatModel {
|
|
|
117
117
|
maxTokens: Math.min(options.maxTokens || 1000, (safeModelInfo === null || safeModelInfo === void 0 ? void 0 : safeModelInfo.capabilities.maxOutputTokens) || 4096),
|
|
118
118
|
topP: options.topP || 1,
|
|
119
119
|
configuration: {
|
|
120
|
-
baseURL: 'https://
|
|
120
|
+
baseURL: 'https://copilot-proxy.githubusercontent.com',
|
|
121
121
|
defaultHeaders: {
|
|
122
122
|
'User-Agent': 'n8n-github-copilot-chat-model',
|
|
123
123
|
'Content-Type': 'application/json',
|
|
@@ -34,10 +34,10 @@ export declare class GitHubCopilotModelsManager {
|
|
|
34
34
|
static getModelsForUseCase(useCase: 'general' | 'coding' | 'vision' | 'reasoning' | 'tools'): GitHubCopilotModel[];
|
|
35
35
|
}
|
|
36
36
|
export declare const DEFAULT_MODELS: {
|
|
37
|
-
readonly GENERAL: "
|
|
38
|
-
readonly CODING: "
|
|
37
|
+
readonly GENERAL: "auto";
|
|
38
|
+
readonly CODING: "o3-mini";
|
|
39
39
|
readonly VISION: "gpt-4o";
|
|
40
|
-
readonly REASONING: "
|
|
41
|
-
readonly TOOLS: "gpt-
|
|
42
|
-
readonly MULTIMODAL: "gemini-
|
|
40
|
+
readonly REASONING: "claude-sonnet-4";
|
|
41
|
+
readonly TOOLS: "gpt-5";
|
|
42
|
+
readonly MULTIMODAL: "gemini-2.5-pro";
|
|
43
43
|
};
|
|
@@ -3,26 +3,60 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.DEFAULT_MODELS = exports.GitHubCopilotModelsManager = exports.GITHUB_COPILOT_MODELS = void 0;
|
|
4
4
|
exports.GITHUB_COPILOT_MODELS = [
|
|
5
5
|
{
|
|
6
|
-
value: '
|
|
7
|
-
name: '
|
|
8
|
-
description: '
|
|
6
|
+
value: 'auto',
|
|
7
|
+
name: 'Auto (Recommended)',
|
|
8
|
+
description: 'Automatically selects the best model for your task',
|
|
9
9
|
capabilities: {
|
|
10
10
|
toolsCalling: true,
|
|
11
11
|
vision: true,
|
|
12
12
|
multimodal: true,
|
|
13
13
|
maxContextTokens: 128000,
|
|
14
|
-
maxOutputTokens:
|
|
14
|
+
maxOutputTokens: 16384,
|
|
15
15
|
streaming: true,
|
|
16
16
|
provider: 'OpenAI',
|
|
17
|
-
category: '
|
|
17
|
+
category: 'chat'
|
|
18
18
|
},
|
|
19
19
|
recommended: true,
|
|
20
20
|
status: 'stable'
|
|
21
21
|
},
|
|
22
22
|
{
|
|
23
|
-
value: 'gpt-
|
|
24
|
-
name: 'GPT-
|
|
25
|
-
description: '
|
|
23
|
+
value: 'gpt-5',
|
|
24
|
+
name: 'GPT-5',
|
|
25
|
+
description: 'Latest generation GPT model with enhanced capabilities',
|
|
26
|
+
capabilities: {
|
|
27
|
+
toolsCalling: true,
|
|
28
|
+
vision: true,
|
|
29
|
+
multimodal: true,
|
|
30
|
+
maxContextTokens: 128000,
|
|
31
|
+
maxOutputTokens: 64000,
|
|
32
|
+
streaming: true,
|
|
33
|
+
provider: 'OpenAI',
|
|
34
|
+
category: 'chat'
|
|
35
|
+
},
|
|
36
|
+
recommended: true,
|
|
37
|
+
status: 'stable'
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
value: 'gpt-5-mini',
|
|
41
|
+
name: 'GPT-5 Mini',
|
|
42
|
+
description: 'Faster and more efficient GPT-5 model',
|
|
43
|
+
capabilities: {
|
|
44
|
+
toolsCalling: true,
|
|
45
|
+
vision: true,
|
|
46
|
+
multimodal: true,
|
|
47
|
+
maxContextTokens: 128000,
|
|
48
|
+
maxOutputTokens: 64000,
|
|
49
|
+
streaming: true,
|
|
50
|
+
provider: 'OpenAI',
|
|
51
|
+
category: 'chat'
|
|
52
|
+
},
|
|
53
|
+
recommended: true,
|
|
54
|
+
status: 'stable'
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
value: 'gpt-4.1',
|
|
58
|
+
name: 'GPT-4.1',
|
|
59
|
+
description: 'Enhanced GPT-4 model with improved capabilities',
|
|
26
60
|
capabilities: {
|
|
27
61
|
toolsCalling: true,
|
|
28
62
|
vision: true,
|
|
@@ -37,9 +71,26 @@ exports.GITHUB_COPILOT_MODELS = [
|
|
|
37
71
|
status: 'stable'
|
|
38
72
|
},
|
|
39
73
|
{
|
|
40
|
-
value: 'gpt-
|
|
41
|
-
name: 'GPT-
|
|
42
|
-
description: '
|
|
74
|
+
value: 'gpt-4o',
|
|
75
|
+
name: 'GPT-4o',
|
|
76
|
+
description: 'Most capable GPT-4 model with vision, optimized for chat and complex reasoning',
|
|
77
|
+
capabilities: {
|
|
78
|
+
toolsCalling: true,
|
|
79
|
+
vision: true,
|
|
80
|
+
multimodal: true,
|
|
81
|
+
maxContextTokens: 128000,
|
|
82
|
+
maxOutputTokens: 4096,
|
|
83
|
+
streaming: true,
|
|
84
|
+
provider: 'OpenAI',
|
|
85
|
+
category: 'multimodal'
|
|
86
|
+
},
|
|
87
|
+
recommended: true,
|
|
88
|
+
status: 'stable'
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
value: 'gpt-4o-mini',
|
|
92
|
+
name: 'GPT-4o Mini',
|
|
93
|
+
description: 'Faster and more cost-effective GPT-4o - VERIFIED WORKING',
|
|
43
94
|
capabilities: {
|
|
44
95
|
toolsCalling: true,
|
|
45
96
|
vision: false,
|
|
@@ -50,53 +101,70 @@ exports.GITHUB_COPILOT_MODELS = [
|
|
|
50
101
|
provider: 'OpenAI',
|
|
51
102
|
category: 'chat'
|
|
52
103
|
},
|
|
53
|
-
recommended:
|
|
104
|
+
recommended: true,
|
|
54
105
|
status: 'stable'
|
|
55
106
|
},
|
|
56
107
|
{
|
|
57
|
-
value: '
|
|
58
|
-
name: '
|
|
59
|
-
description: '
|
|
108
|
+
value: 'o3-mini',
|
|
109
|
+
name: 'o3 Mini',
|
|
110
|
+
description: 'New reasoning model optimized for coding and complex tasks',
|
|
60
111
|
capabilities: {
|
|
61
|
-
toolsCalling:
|
|
112
|
+
toolsCalling: true,
|
|
62
113
|
vision: false,
|
|
63
114
|
multimodal: false,
|
|
64
|
-
maxContextTokens:
|
|
65
|
-
maxOutputTokens:
|
|
66
|
-
streaming:
|
|
115
|
+
maxContextTokens: 200000,
|
|
116
|
+
maxOutputTokens: 100000,
|
|
117
|
+
streaming: true,
|
|
67
118
|
provider: 'OpenAI',
|
|
68
119
|
category: 'reasoning'
|
|
69
120
|
},
|
|
70
|
-
recommended:
|
|
71
|
-
status: '
|
|
121
|
+
recommended: true,
|
|
122
|
+
status: 'stable'
|
|
72
123
|
},
|
|
73
124
|
{
|
|
74
|
-
value: '
|
|
75
|
-
name: '
|
|
76
|
-
description: '
|
|
125
|
+
value: 'claude-sonnet-4',
|
|
126
|
+
name: 'Claude Sonnet 4',
|
|
127
|
+
description: 'Latest Claude model with advanced reasoning capabilities',
|
|
77
128
|
capabilities: {
|
|
78
|
-
toolsCalling:
|
|
79
|
-
vision:
|
|
80
|
-
multimodal:
|
|
129
|
+
toolsCalling: true,
|
|
130
|
+
vision: true,
|
|
131
|
+
multimodal: true,
|
|
81
132
|
maxContextTokens: 128000,
|
|
82
|
-
maxOutputTokens:
|
|
83
|
-
streaming:
|
|
84
|
-
provider: '
|
|
85
|
-
category: '
|
|
133
|
+
maxOutputTokens: 16000,
|
|
134
|
+
streaming: true,
|
|
135
|
+
provider: 'Anthropic',
|
|
136
|
+
category: 'chat'
|
|
86
137
|
},
|
|
87
138
|
recommended: true,
|
|
88
|
-
status: '
|
|
139
|
+
status: 'stable'
|
|
89
140
|
},
|
|
90
141
|
{
|
|
91
|
-
value: 'claude-
|
|
92
|
-
name: 'Claude
|
|
93
|
-
description: '
|
|
142
|
+
value: 'claude-opus-4',
|
|
143
|
+
name: 'Claude Opus 4',
|
|
144
|
+
description: 'Most powerful Claude model for complex reasoning (may have performance issues)',
|
|
145
|
+
capabilities: {
|
|
146
|
+
toolsCalling: false,
|
|
147
|
+
vision: true,
|
|
148
|
+
multimodal: true,
|
|
149
|
+
maxContextTokens: 80000,
|
|
150
|
+
maxOutputTokens: 16000,
|
|
151
|
+
streaming: true,
|
|
152
|
+
provider: 'Anthropic',
|
|
153
|
+
category: 'reasoning'
|
|
154
|
+
},
|
|
155
|
+
recommended: false,
|
|
156
|
+
status: 'stable'
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
value: 'claude-3.7-sonnet',
|
|
160
|
+
name: 'Claude 3.7 Sonnet',
|
|
161
|
+
description: 'Enhanced Claude 3.5 with improved capabilities',
|
|
94
162
|
capabilities: {
|
|
95
163
|
toolsCalling: true,
|
|
96
164
|
vision: true,
|
|
97
165
|
multimodal: true,
|
|
98
166
|
maxContextTokens: 200000,
|
|
99
|
-
maxOutputTokens:
|
|
167
|
+
maxOutputTokens: 16384,
|
|
100
168
|
streaming: true,
|
|
101
169
|
provider: 'Anthropic',
|
|
102
170
|
category: 'chat'
|
|
@@ -105,14 +173,31 @@ exports.GITHUB_COPILOT_MODELS = [
|
|
|
105
173
|
status: 'stable'
|
|
106
174
|
},
|
|
107
175
|
{
|
|
108
|
-
value: 'claude-3-
|
|
109
|
-
name: 'Claude 3.
|
|
110
|
-
description: '
|
|
176
|
+
value: 'claude-3.7-sonnet-thought',
|
|
177
|
+
name: 'Claude 3.7 Sonnet Thinking',
|
|
178
|
+
description: 'Claude with visible reasoning process',
|
|
111
179
|
capabilities: {
|
|
112
|
-
toolsCalling:
|
|
180
|
+
toolsCalling: false,
|
|
113
181
|
vision: true,
|
|
114
182
|
multimodal: true,
|
|
115
183
|
maxContextTokens: 200000,
|
|
184
|
+
maxOutputTokens: 16384,
|
|
185
|
+
streaming: true,
|
|
186
|
+
provider: 'Anthropic',
|
|
187
|
+
category: 'reasoning'
|
|
188
|
+
},
|
|
189
|
+
recommended: false,
|
|
190
|
+
status: 'stable'
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
value: 'claude-3.5-sonnet',
|
|
194
|
+
name: 'Claude 3.5 Sonnet',
|
|
195
|
+
description: 'Anthropic\'s balanced model with excellent reasoning and creativity',
|
|
196
|
+
capabilities: {
|
|
197
|
+
toolsCalling: true,
|
|
198
|
+
vision: true,
|
|
199
|
+
multimodal: true,
|
|
200
|
+
maxContextTokens: 90000,
|
|
116
201
|
maxOutputTokens: 8192,
|
|
117
202
|
streaming: true,
|
|
118
203
|
provider: 'Anthropic',
|
|
@@ -120,6 +205,40 @@ exports.GITHUB_COPILOT_MODELS = [
|
|
|
120
205
|
},
|
|
121
206
|
recommended: true,
|
|
122
207
|
status: 'stable'
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
value: 'gemini-2.5-pro',
|
|
211
|
+
name: 'Gemini 2.5 Pro',
|
|
212
|
+
description: 'Most advanced Gemini model with reasoning capabilities',
|
|
213
|
+
capabilities: {
|
|
214
|
+
toolsCalling: true,
|
|
215
|
+
vision: true,
|
|
216
|
+
multimodal: true,
|
|
217
|
+
maxContextTokens: 128000,
|
|
218
|
+
maxOutputTokens: 64000,
|
|
219
|
+
streaming: true,
|
|
220
|
+
provider: 'Google',
|
|
221
|
+
category: 'reasoning'
|
|
222
|
+
},
|
|
223
|
+
recommended: true,
|
|
224
|
+
status: 'stable'
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
value: 'gemini-2.0-flash-001',
|
|
228
|
+
name: 'Gemini 2.0 Flash',
|
|
229
|
+
description: 'Fast and efficient Gemini model with large context window',
|
|
230
|
+
capabilities: {
|
|
231
|
+
toolsCalling: true,
|
|
232
|
+
vision: true,
|
|
233
|
+
multimodal: true,
|
|
234
|
+
maxContextTokens: 1000000,
|
|
235
|
+
maxOutputTokens: 8192,
|
|
236
|
+
streaming: true,
|
|
237
|
+
provider: 'Google',
|
|
238
|
+
category: 'chat'
|
|
239
|
+
},
|
|
240
|
+
recommended: true,
|
|
241
|
+
status: 'stable'
|
|
123
242
|
}
|
|
124
243
|
];
|
|
125
244
|
class GitHubCopilotModelsManager {
|
|
@@ -175,10 +294,10 @@ class GitHubCopilotModelsManager {
|
|
|
175
294
|
}
|
|
176
295
|
exports.GitHubCopilotModelsManager = GitHubCopilotModelsManager;
|
|
177
296
|
exports.DEFAULT_MODELS = {
|
|
178
|
-
GENERAL: '
|
|
179
|
-
CODING: '
|
|
297
|
+
GENERAL: 'auto',
|
|
298
|
+
CODING: 'o3-mini',
|
|
180
299
|
VISION: 'gpt-4o',
|
|
181
|
-
REASONING: '
|
|
182
|
-
TOOLS: 'gpt-
|
|
183
|
-
MULTIMODAL: 'gemini-
|
|
300
|
+
REASONING: 'claude-sonnet-4',
|
|
301
|
+
TOOLS: 'gpt-5',
|
|
302
|
+
MULTIMODAL: 'gemini-2.5-pro'
|
|
184
303
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n8n-nodes-github-copilot",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.6.0",
|
|
4
4
|
"description": "n8n community node for GitHub Copilot with CLI integration, Chat API access, and AI Chat Model for workflows - 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",
|