淘宝卖的Github Copilot企业账号激活,有大佬研究转成API吗?

淘宝卖的Github Copilot企业账号激活,有大佬研究转成API吗?

ghu?

1 个赞

给的不是ghu 给的一串字母加数字

1 个赞

--------------> 企业授权方案 begin
copilot企业授权操作指南 https://p.kdocs.cn/s/3DNZSBIAAM
一,Vs code操作说明 aaaaaaa为卡密样例,请使用具体的卡密内容替换
vscode 的settings.json增加这段,位置在大括号里面的一级节点
“github.copilot.advanced”: {
“authProvider”: “github-enterprise”,
},
“github-enterprise.uri”: “http://[email protected]:28443”,

二,Jetbrains全家桶, Android Studio, Visual studio 2022操作说明
1,增加或者修改hosts.json,位置如下
mac or linux:$HOME为用户的家目录
$HOME/.config/github-copilot/hosts.json
windows: 用户名根据实际情况
hosts.json文件在C:\Users\用户名\AppData\Local\github-copilot\hosts.json

2,hosts.json文件里面只含有如下内容,不含有其他内容 aaaaaaa为卡密样例,请使用具体的卡密内容替换
{“github.com”:{“user”:“user1test”,“oauth_token”:“ghu_aaaaaaa”,“dev_override”:{“copilot_token_url”:“http://152.136.138.142:28443/copilot_internal/v2/token”}}}
--------------> 企业授权方案 end 这是给的

常规话题快问快答

1 个赞

什么企业,都是试用号

2 个赞

哇靠 我又被割了韭菜了吗

1 个赞

只是用了企业认证流程,号是试用的。他们惯会搞唬人名字的

1 个赞

怎么做到的?讲讲原理

46 个赞

说是37块一年呢,是不是也就一个月的事了

前排围观韭黄

都是骗人的

36 个赞

后排围观韭黄

我可以,等我放一个 api

直接用gpt4-copilot-java就可以转了

等多久放

cool

好了,端点用 https://copilot2api.3211000.xyz

然后 key 的拼接规则为 https://proxy.3211000.xyz/ + 号商的上游地址 + || + 号商的token

f"https://proxy.3211000.xyz/{upstream}||{token}"

比如 https://proxy.3211000.xyz/http://152.136.138.142:28443/copilot_internal/v2/token||ghu_aaaaaaa

提示:

  1. 群佬的 api.cocopilot.org 不可用,别尝试了
  2. 示例的 ghu 被我删了部分,别尝试了

截个过了的吧,如果配在 chatgpt-next-web 等第三方客户端上,都不需要带 Bearer ,客户端会自动处理的,除了你用 postman 等直接发请求,否则 key 的规则如上述所示,如果有些号商的 copilot token 拿不到,可以私聊我我偷偷改规则 :clown_face:

1 个赞

。。。这也没人用,也没人成功。晚上还没有就关了吧,浪费内存

2 个赞