Compare commits

..

No commits in common. "934820d691daac67790163e077861b9b8f5b9a0b" and "f134f2541b1e18cf22b313df49d54fc76787df73" have entirely different histories.

2 changed files with 14 additions and 8 deletions

View File

@ -1,5 +1,12 @@
[中文](README.md) |[English](README-EN.md) [中文](README.md) / [English](README-EN.md)
------
测试版已经支持全部接口代理,
所有也就是代码提示也走代理,
还在测试中。
![输入图片说明](readme/screenshots.gif)
*** ***
# share-copilot # share-copilot
@ -14,8 +21,7 @@
1.本地插件携ghu_token请求github的API 1.本地插件携ghu_token请求github的API
2.返回带有时间戳的copilot的token(下面简称co_token) 2.返回带有时间戳的copilot的token(下面简称co_token)代码提示都是用的co_token
代码提示都是用的co_token
3.co_token到期->ghu_token重新请求->获得新的co_token 3.co_token到期->ghu_token重新请求->获得新的co_token
------------------------------------------------------------- -------------------------------------------------------------
@ -26,12 +32,12 @@
1.携ghu_token请求github的API暂存co_token 1.携ghu_token请求github的API暂存co_token
2.多用户请求时判断co_token有没有过期没过期直接返回 2.多用户请求时判断co_token有没有过期没过期直接返回减少ghu_token的请求次数大约10-20分钟过期
减少ghu_token的请求次数大约10-20分钟过期
至于本地co_token也就是代码提示没有走代理可以代理但是要修改插件jetbrains的插件还要重新build
猜测风控目前也只是停留在请求ghu_token这一层
3.至于本地co_token也就是代码提示没有走代理可以代理但是要修改插件jetbrains的插件还要重新build
猜测风控目前也只是停留在请求ghu_token这一层
"cocopilot也是代理了ghu_token请求并没有破解插件" "cocopilot也是代理了ghu_token请求并没有破解插件"
``` ```

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB