update README.md.

原理解释

Signed-off-by: luyoyu <8829470+chuangxxt@user.noreply.gitee.com>
This commit is contained in:
luyoyu 2023-09-13 09:38:33 +00:00 committed by Gitee
parent 4fd2515d43
commit 84ecafbf94
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -18,11 +18,11 @@
```sh
简单说一下本地插件原本的请求逻辑:
1本地插件携ghu_token请求github的API
1.本地插件携ghu_token请求github的API
2返回带有时间戳的copilot的token(下面简称co_token)代码提示都是用的co_token
2.返回带有时间戳的copilot的token(下面简称co_token)代码提示都是用的co_token
3co_token到期->ghu_token重新请求->获得新的co_token
3.co_token到期->ghu_token重新请求->获得新的co_token
-------------------------------------------------------------
代理服务器代理的是 ghu_token请求 这一环节: