Closed aaamoon closed 9 months ago
通过抓包我们可以发现 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模型了~
已推荐:https://weekly.howie6879.com/2023/12-25~12-31.%E8%80%81%E8%83%A1%E7%9A%84%E5%91%A8%E5%88%8A%EF%BC%88%E7%AC%AC122%E6%9C%9F%EF%BC%89.html#copilot-gpt4-service
背景
通过抓包我们可以发现 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模型了~