{"id":16659,"date":"2024-12-29T14:49:40","date_gmt":"2024-12-29T06:49:40","guid":{"rendered":"https:\/\/www.aisharenet.com\/?p=16659"},"modified":"2025-07-17T00:26:08","modified_gmt":"2025-07-16T16:26:08","slug":"github-copilot-proxies","status":"publish","type":"post","link":"https:\/\/www.kdjingpai.com\/pt\/github-copilot-proxies\/","title":{"rendered":"Copilot\u540e\u7aef\u4ee3\u7406\u670d\u52a1\uff1a\u7528\u5176\u4ed6\u6a21\u578b\u63a5\u7ba1GitHub Copilot\u63d2\u4ef6\u670d\u52a1\u7aef"},"content":{"rendered":"<p>Copilot\u540e\u7aef\u4ee3\u7406\u670d\u52a1\u662f\u4e00\u4e2a\u5f00\u6e90\u9879\u76ee\uff0c\u65e8\u5728\u901a\u8fc7\u501f\u52a9\u5176\u4ed6FIM\u6a21\u578b\uff08\u5982DeepSeek\uff09\u6765\u7ba1\u7406GitHub Copilot\u63d2\u4ef6\u670d\u52a1\u7aef\uff0c\u540c\u65f6\u652f\u6301\u591a\u4eba\u5171\u4eab\u5b98\u65b9\u8d26\u53f7\u3002\u8be5\u670d\u52a1\u652f\u6301\u591a\u79cdIDE\uff0c\u5305\u62ecVSCode\u3001Jetbrains IDE\u7cfb\u5217\u3001Visual Studio 2022\u548cHBuilderX\uff0c\u80fd\u591f\u5728\u672c\u5730\u6a21\u578b\u4e0b\u5b9e\u73b0\u65ad\u7f51\u73af\u5883\u4e2d\u7684\u8fd0\u884c\u3002\u901a\u8fc7\u4f7f\u7528\u672c\u5730\u6a21\u578b\uff0c\u5f00\u53d1\u8005\u53ef\u4ee5\u5728\u79bb\u7ebf\u73af\u5883\u4e2d\u7ee7\u7eed\u4eab\u53d7\u4ee3\u7801\u8865\u5168\u548c\u63d0\u793a\u529f\u80fd\uff0c\u4ece\u800c\u63d0\u9ad8\u5f00\u53d1\u6548\u7387\u3002<\/p>\n<p>\u514d\u8d39\u7684\u516c\u5171\u670d\u52a1\u7aef\u70b9: mycopilot.noteo.cn <a href=\"https:\/\/mycopilot.noteo.cn\/help\">\u914d\u7f6e\u8bf4\u660e<\/a><\/p>\n<p>&nbsp;<\/p>\n<h2>\u529f\u80fd\u5217\u8868<\/h2>\n<ul>\n<li>\u652f\u6301\u591a\u79cdIDE\uff1a\u5305\u62ecVSCode\u3001Jetbrains IDE\u7cfb\u5217\u3001Visual Studio 2022\u548cHBuilderX\u3002<\/li>\n<li>\u672c\u5730\u6a21\u578b\u652f\u6301\uff1a\u5728\u65ad\u7f51\u73af\u5883\u4e0b\u8fd0\u884c\uff0c\u786e\u4fdd\u5f00\u53d1\u8005\u5728\u79bb\u7ebf\u72b6\u6001\u4e0b\u4e5f\u80fd\u4f7f\u7528\u4ee3\u7801\u8865\u5168\u548c\u63d0\u793a\u529f\u80fd\u3002<\/li>\n<li>\u591a\u4eba\u5171\u4eab\u5b98\u65b9\u8d26\u53f7\uff1a\u652f\u6301\u591a\u4eba\u5171\u4eabGitHub Copilot\u5b98\u65b9\u8d26\u53f7\uff0c\u964d\u4f4e\u4f7f\u7528\u6210\u672c\u3002<\/li>\n<li>\u4ee3\u7801\u8865\u5168\u548c\u63d0\u793a\uff1a\u63d0\u4f9b\u667a\u80fd\u7684\u4ee3\u7801\u8865\u5168\u548c\u63d0\u793a\u529f\u80fd\uff0c\u63d0\u9ad8\u5f00\u53d1\u6548\u7387\u3002<\/li>\n<li>Docker\u90e8\u7f72\uff1a\u652f\u6301\u4f7f\u7528Docker\u8fdb\u884c\u5feb\u901f\u90e8\u7f72\uff0c\u7b80\u5316\u5b89\u88c5\u548c\u914d\u7f6e\u8fc7\u7a0b\u3002<\/li>\n<li>\u73af\u5883\u53d8\u91cf\u914d\u7f6e\uff1a\u63d0\u4f9b\u8be6\u7ec6\u7684\u73af\u5883\u53d8\u91cf\u914d\u7f6e\u8bf4\u660e\uff0c\u65b9\u4fbf\u7528\u6237\u6839\u636e\u9700\u6c42\u8fdb\u884c\u81ea\u5b9a\u4e49\u8bbe\u7f6e\u3002<\/li>\n<li>SSL\u8bc1\u4e66\u81ea\u52a8\u66f4\u65b0\uff1a\u81ea\u52a8\u66f4\u65b0SSL\u8bc1\u4e66\uff0c\u786e\u4fdd\u670d\u52a1\u7684\u5b89\u5168\u6027\u548c\u7a33\u5b9a\u6027\u3002<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h2>\u4f7f\u7528\u5e2e\u52a9<\/h2>\n<h3>\u5b89\u88c5\u6d41\u7a0b<\/h3>\n<ol>\n<li>\u4e0b\u8f7d\u6700\u65b0\u7248\u672c\u7684\u53ef\u6267\u884c\u6587\u4ef6\uff0c\u8bbf\u95ee<a href=\"https:\/\/gitee.com\/ripperTs\/github-copilot-proxies\/releases\">releases\u9875\u9762<\/a>\u3002<\/li>\n<li>\u5728\u53ef\u6267\u884c\u6587\u4ef6\u540c\u7ea7\u76ee\u5f55\u4e0b\u521b\u5efa<code>.env<\/code>\u6587\u4ef6\uff0c\u53c2\u8003<code>.env.example<\/code>\u6587\u4ef6\u8fdb\u884c\u914d\u7f6e\u3002<\/li>\n<li>\u542f\u52a8\u670d\u52a1\uff1a\u6267\u884c\u4ee5\u4e0b\u547d\u4ee4\u542f\u52a8\u670d\u52a1\uff1a\n<pre><code>docker-compose up -d\r\n<\/code><\/pre>\n<\/li>\n<li>\u914d\u7f6eIDE\uff1a\u6839\u636e\u4ee5\u4e0b\u65b9\u6cd5\u914d\u7f6e\u5bf9\u5e94\u7684IDE\u3002\n<ul>\n<li><strong>VSCode<\/strong>\uff1a\n<ol>\n<li>\u5b89\u88c5GitHub Copilot\u63d2\u4ef6\u3002<\/li>\n<li>\u4fee\u6539VSCode\u7684<code>settings.json<\/code>\u6587\u4ef6\uff0c\u6dfb\u52a0\u4ee5\u4e0b\u914d\u7f6e\uff1a\n<pre><code>\"github.copilot.advanced\": {\r\n\"authProvider\": \"github-enterprise\",\r\n\"debug.overrideCAPIUrl\": \"https:\/\/api.copilot.supercopilot.top\",\r\n\"debug.overrideProxyUrl\": \"https:\/\/copilot-proxy.copilot.supercopilot.top\",\r\n\"debug.chatOverrideProxyUrl\": \"https:\/\/api.copilot.supercopilot.top\/chat\/completions\",\r\n\"debug.overrideFastRewriteEngine\": \"v1\/engines\/copilot-centralus-h100\",\r\n\"debug.overrideFastRewriteUrl\": \"https:\/\/api.copilot.supercopilot.top\"\r\n},\r\n\"github-enterprise.uri\": \"https:\/\/copilot.supercopilot.top\"\r\n<\/code><\/pre>\n<\/li>\n<li>\u91cd\u542fVSCode\u5e76\u767b\u5f55GitHub Copilot\u63d2\u4ef6\u3002<\/li>\n<\/ol>\n<\/li>\n<li><strong>Jetbrains IDE\u7cfb\u5217<\/strong>\uff1a\n<ol>\n<li>\u6253\u5f00\u8bbe\u7f6e &gt; \u8bed\u8a00\u4e0e\u6846\u67b6 &gt; <a href=\"https:\/\/www.kdjingpai.com\/pt\/github-copilotji\/\">GitHub Copilot<\/a> &gt; Authentication Provider\uff0c\u586b\u5199\u503c\u4e3a<code><a href=\"https:\/\/www.kdjingpai.com\/pt\/microsoft-copilo\/\">copilot<\/a>.supercopilot.top<\/code>\u3002<\/li>\n<\/ol>\n<\/li>\n<li><strong>Visual Studio 2022<\/strong>\uff1a\n<ol>\n<li>\u66f4\u65b0\u5230\u6700\u65b0\u7248\u672c\uff08\u81f3\u5c11\u4e3a17.10.x\uff09\u3002<\/li>\n<li>\u6253\u5f00\u5de5\u5177 &gt; \u73af\u5883 &gt; \u8d26\u6237\uff0c\u52fe\u9009\u5305\u542bGitHub Enterprise\u670d\u52a1\u5668\u8d26\u6237\u3002<\/li>\n<li>\u91cd\u542fVisual Studio 2022\u3002<\/li>\n<li>\u70b9\u51fb\u6dfb\u52a0GitHub\u8d26\u6237\uff0c\u5207\u6362\u5230GitHub Enterprise\u9009\u9879\u5361\uff0c\u8f93\u5165<code>https:\/\/copilot.supercopilot.top<\/code>\u3002<\/li>\n<\/ol>\n<\/li>\n<li><strong>HBuilderX<\/strong>\uff1a\n<ol>\n<li>\u4e0b\u8f7d<code>copilot-for-hbuilderx-v1.zip<\/code>\u63d2\u4ef6\u5230\u672c\u5730\u3002<\/li>\n<li>\u5c06\u63d2\u4ef6\u5b89\u88c5\u5230<code>plugin<\/code>\u76ee\u5f55\u4e0b\uff0c\u53c2\u8003\u79bb\u7ebf\u63d2\u4ef6\u5b89\u88c5\u6307\u5357\u3002<\/li>\n<li>\u91cd\u542fHBuilderX\u5e76\u767b\u5f55GitHub Copilot\u63d2\u4ef6\u3002<\/li>\n<\/ol>\n<\/li>\n<\/ul>\n<\/li>\n<\/ol>\n<h3>\u4f7f\u7528\u65b9\u6cd5<\/h3>\n<ol>\n<li>\u542f\u52a8\u670d\u52a1\u540e\uff0c\u8bbf\u95ee<code>https:\/\/copilot.supercopilot.top\/github\/login\/device\/code<\/code>\u83b7\u53d6<code>ghu_<\/code>\u53c2\u6570\u3002<\/li>\n<li>\u5c06\u83b7\u53d6\u5230\u7684<code>ghu_<\/code>\u53c2\u6570\u586b\u5199\u5230<code>.env<\/code>\u6587\u4ef6\u4e2d\u7684<code>COPILOT_GHU_TOKEN<\/code>\u73af\u5883\u53d8\u91cf\u4e2d\u3002<\/li>\n<li>\u91cd\u542f\u670d\u52a1\u548cIDE\uff0c\u5373\u53ef\u4f7f\u7528GitHub Copilot\u63d2\u4ef6\u7684\u4ee3\u7801\u8865\u5168\u548c\u63d0\u793a\u529f\u80fd\u3002<\/li>\n<\/ol>\n","protected":false},"excerpt":{"rendered":"<p>Copilot\u540e\u7aef\u4ee3\u7406\u670d\u52a1\u662f\u4e00\u4e2a\u5f00\u6e90\u9879\u76ee\uff0c\u65e8\u5728\u901a\u8fc7\u501f\u52a9\u5176\u4ed6FIM\u6a21\u578b\uff08\u5982DeepSeek\uff09\u6765\u7ba1\u7406GitHub Copilot\u63d2\u4ef6\u670d\u52a1\u7aef\uff0c\u540c\u65f6\u652f\u6301\u591a\u4eba\u5171\u4eab\u5b98\u65b9\u8d26\u53f7\u3002\u8be5\u670d\u52a1\u652f\u6301\u591a\u79cdIDE\uff0c\u5305\u62ecVSCode\u3001Jetbrains IDE\u7cfb\u5217\u3001Vis&#8230;<\/p>\n","protected":false},"author":1,"featured_media":32594,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[20],"tags":[208,230],"class_list":["post-16659","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tool","tag-aikaifangfuwu","tag-aikaiyuanxiangmu"],"_links":{"self":[{"href":"https:\/\/www.kdjingpai.com\/pt\/wp-json\/wp\/v2\/posts\/16659","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.kdjingpai.com\/pt\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.kdjingpai.com\/pt\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.kdjingpai.com\/pt\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.kdjingpai.com\/pt\/wp-json\/wp\/v2\/comments?post=16659"}],"version-history":[{"count":0,"href":"https:\/\/www.kdjingpai.com\/pt\/wp-json\/wp\/v2\/posts\/16659\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.kdjingpai.com\/pt\/wp-json\/wp\/v2\/media\/32594"}],"wp:attachment":[{"href":"https:\/\/www.kdjingpai.com\/pt\/wp-json\/wp\/v2\/media?parent=16659"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.kdjingpai.com\/pt\/wp-json\/wp\/v2\/categories?post=16659"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.kdjingpai.com\/pt\/wp-json\/wp\/v2\/tags?post=16659"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}