n8n-nodes-github-copilot 3.38.10 → 3.38.11
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.
|
@@ -51,6 +51,20 @@ class GitHubCopilotChatModel {
|
|
|
51
51
|
default: GitHubCopilotModels_1.DEFAULT_MODELS.GENERAL,
|
|
52
52
|
description: "Select the GitHub Copilot model to use (loaded dynamically based on your subscription)",
|
|
53
53
|
},
|
|
54
|
+
{
|
|
55
|
+
displayName: "Custom Model Name",
|
|
56
|
+
name: "customModel",
|
|
57
|
+
type: "string",
|
|
58
|
+
default: "",
|
|
59
|
+
placeholder: "gpt-4o, claude-3.5-sonnet, grok-code-fast-1, etc.",
|
|
60
|
+
description: "Enter the model name manually. This is useful for new/beta models not yet in the list.",
|
|
61
|
+
hint: "Examples: gpt-4o, gpt-4o-mini, claude-3.5-sonnet, gemini-2.0-flash-exp, grok-code-fast-1",
|
|
62
|
+
displayOptions: {
|
|
63
|
+
show: {
|
|
64
|
+
model: ["__manual__"],
|
|
65
|
+
},
|
|
66
|
+
},
|
|
67
|
+
},
|
|
54
68
|
{
|
|
55
69
|
displayName: "Options",
|
|
56
70
|
name: "options",
|
|
@@ -134,7 +148,18 @@ class GitHubCopilotChatModel {
|
|
|
134
148
|
};
|
|
135
149
|
}
|
|
136
150
|
async supplyData(itemIndex) {
|
|
137
|
-
|
|
151
|
+
let model = this.getNodeParameter("model", itemIndex);
|
|
152
|
+
if (model === "__manual__") {
|
|
153
|
+
const customModel = this.getNodeParameter("customModel", itemIndex);
|
|
154
|
+
if (!customModel || customModel.trim() === "") {
|
|
155
|
+
throw new Error("Custom model name is required when selecting '✏️ Enter Custom Model Name'");
|
|
156
|
+
}
|
|
157
|
+
model = customModel;
|
|
158
|
+
console.log(`✏️ Using manually entered model: ${model}`);
|
|
159
|
+
}
|
|
160
|
+
else {
|
|
161
|
+
console.log(`✅ Using model from list: ${model}`);
|
|
162
|
+
}
|
|
138
163
|
const options = this.getNodeParameter("options", itemIndex, {});
|
|
139
164
|
const modelInfo = GitHubCopilotModels_1.GitHubCopilotModelsManager.getModelByValue(model);
|
|
140
165
|
const credentials = (await this.getCredentials("githubCopilotApi"));
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n8n-nodes-github-copilot",
|
|
3
|
-
"version": "3.38.
|
|
3
|
+
"version": "3.38.11",
|
|
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",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n8n-nodes-github-copilot",
|
|
3
|
-
"version": "3.38.
|
|
3
|
+
"version": "3.38.11",
|
|
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",
|