n8n-nodes-github-copilot 3.31.17 → 3.31.18
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.
|
@@ -124,7 +124,11 @@ class GitHubCopilotOpenAI {
|
|
|
124
124
|
model: model,
|
|
125
125
|
choices: response.choices.map((choice) => ({
|
|
126
126
|
index: choice.index,
|
|
127
|
-
message:
|
|
127
|
+
message: {
|
|
128
|
+
role: choice.message.role,
|
|
129
|
+
content: choice.message.content,
|
|
130
|
+
...(choice.message.tool_calls && { tool_calls: choice.message.tool_calls }),
|
|
131
|
+
},
|
|
128
132
|
finish_reason: choice.finish_reason,
|
|
129
133
|
})),
|
|
130
134
|
usage: response.usage || {
|
package/dist/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n8n-nodes-github-copilot",
|
|
3
|
-
"version": "3.31.
|
|
3
|
+
"version": "3.31.18",
|
|
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",
|
|
@@ -9,6 +9,15 @@ export interface CopilotResponse {
|
|
|
9
9
|
message: {
|
|
10
10
|
role: string;
|
|
11
11
|
content: string;
|
|
12
|
+
tool_calls?: Array<{
|
|
13
|
+
id: string;
|
|
14
|
+
type: string;
|
|
15
|
+
function: {
|
|
16
|
+
name: string;
|
|
17
|
+
arguments: string;
|
|
18
|
+
};
|
|
19
|
+
}>;
|
|
20
|
+
[key: string]: unknown;
|
|
12
21
|
};
|
|
13
22
|
finish_reason: string;
|
|
14
23
|
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n8n-nodes-github-copilot",
|
|
3
|
-
"version": "3.31.
|
|
3
|
+
"version": "3.31.18",
|
|
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",
|