Skip to content

Commit 74701c3

Browse files
committed
feat(mcp): update GitHub MCP server to support the new version
1 parent 50a8641 commit 74701c3

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/components/nodes/tools/MCP/GithubV2/GithubV2MCP.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ class GithubV2_MCP implements INode {
9797
const serverParams = {
9898
url: 'https://api.githubcopilot.com/mcp/',
9999
headers: {
100-
'Authorization': `Bearer ${accessToken}`
100+
Authorization: `Bearer ${accessToken}`
101101
}
102102
}
103103

@@ -110,4 +110,4 @@ class GithubV2_MCP implements INode {
110110
}
111111
}
112112

113-
module.exports = { nodeClass: GithubV2_MCP }
113+
module.exports = { nodeClass: GithubV2_MCP }

packages/ui/src/ui-component/dialog/ViewMessagesDialog.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ const ViewMessagesDialog = ({ show, dialogProps, onCancel }) => {
185185
const closeSnackbar = (...args) => dispatch(closeSnackbarAction(...args))
186186

187187
const [chatlogs, setChatLogs] = useState([])
188-
const [allChatlogs, setAllChatLogs] = useState([])
188+
const [_allChatlogs, setAllChatLogs] = useState([])
189189
const [chatMessages, setChatMessages] = useState([])
190190
const [stats, setStats] = useState({})
191191
const [selectedMessageIndex, setSelectedMessageIndex] = useState(0)

0 commit comments

Comments
 (0)