-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
【开源自荐】将 Github Copilot 请求转换为 ChatGPT 请求,免费使用 GPT-4 模型 #3820
Labels
Comments
感謝分享 |
@YunTaoLin 这个我就不太确定了,如果是企业版的话,不清楚会不会在调用 Open AI 接口时加上什么特定字段,我这边没有尝试过使用企业账号的场景 |
<!--
/* Font Definitions */
@font-face
{font-family:宋体;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:DengXian;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Aptos;
panose-1:2 11 0 4 2 2 2 2 2 4;}
@font-face
{font-family:"\@等线";
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:"\@宋体";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:12.0pt;
font-family:宋体;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
mso-ligatures:none;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 90.0pt 72.0pt 90.0pt;}
div.WordSection1
{page:WordSection1;}
-->希望这个项目可以用 CF 的worker来搭建。 发件人: exia ***@***.***>日期: 星期四, 2024年2月1日 19:40收件人: ruanyf/weekly ***@***.***>抄送: Subscribed ***@***.***>主题: Re: [ruanyf/weekly] 【开源自荐】将 Github Copilot 请求转换为 ChatGPT 请求,免费使用 GPT-4 模型 (Issue ***@***.*** 这个我就不太确定了,如果是企业版的话,不清楚会不会在调用 Open AI 接口时加上什么特定字段,我这边没有尝试过使用企业账号的场景—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
希望这个项目可以用 CF 的worker来搭建。 发件人: exia ***@***.***>日期: 星期四, 2024年2月1日 19:40收件人: ruanyf/weekly ***@***.***>抄送: Subscribed ***@***.***>主题: Re: [ruanyf/weekly] 【开源自荐】将 Github Copilot 请求转换为 ChatGPT 请求,免费使用 GPT-4 模型 (Issue ***@***.*** 这个我就不太确定了,如果是企业版的话,不清楚会不会在调用 Open AI 接口时加上什么特定字段,我这边没有尝试过使用企业账号的场景—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***> CF worker 更换 IP 地址频繁,容易被判定为异常行为,可能会对 Github 账号造成风险,不建议这种方式 |
现在失效了? |
仓库被封了,不建议再用了 |
为何会被封? 还有fork吗? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
背景
通过抓包我们可以发现 Github Copilot Chat 其实底层是调用 OpenAI 的 ChatGPT 接口,那么我们就可以将 Github Copilot Chat 的请求转换为 ChatGPT 请求。只要我们拥有 Github Copilot 账号,就能无限制使用 ChatGPT 的 GPT-4 模型。
实现原理
源码地址
https://github.com/aaamoon/copilot-gpt4-service
使用方法
1、访问 https://gpt4copilot.tech
2、在设置的接口地址填入本仓库项目部署出来的api地址 https://gpt4copilot.tech
3、在API Key中填入Github Copilot Token(可以通过copilot-token接口来获取,Token的格式是以ghu_开头)
4、支持各种OpenAI模型选择,目前默认使用的是GPT-4模型
5、接下来我们就可以无限制使用GPT-4模型了~
The text was updated successfully, but these errors were encountered: