This commit is contained in:
luyoyu 2023-09-09 08:08:59 +08:00
parent 04b1f4965c
commit 2133489752

View File

@ -1,4 +1,4 @@
# shared-copilot 不知道做什么用的 # shared-copilot
``` ```
测试环境:Linux4.18.0-305.3.1.el8.x86_64 GNU/Linux 测试环境:Linux4.18.0-305.3.1.el8.x86_64 GNU/Linux
@ -32,9 +32,10 @@ keyPath//私钥路径-必须
github_api_url//默认不改 github_api_url//默认不改
token//你自己的真实副驾驶token,可放多个,请求时随机使用 token//自己的副驾驶token,可放多个,请求时随机使用
//登录插件后在%userprofile%\AppData\Local\github-copilot\host.json ghu_开头
verification//自定义验证token verification//自定义验证
``` ```
##### 2.2 示例 ##### 2.2 示例
@ -96,13 +97,15 @@ config.json
运行截图 运行截图
![demo2.png](https://img1.imgtp.com/2023/09/09/FHDNLixL.png) ![demo.png](https://img1.imgtp.com/2023/09/09/jNTqxhR8.png)
本地host.json
修改%userprofile%\AppData\Local\github-copilot\host.json
```json ```json
{"github.com":{"user":"suibian","oauth_token":"i_am_free","dev_override":{"copilot_token_url":"https://api.example.com/copilot_internal/v2/token"}}} {"github.com":{"user":"suibian","oauth_token":"i_am_free","dev_override":{"copilot_token_url":"https://api.example.com/copilot_internal/v2/token"}}}
``` ```
![demo.png](https://img1.imgtp.com/2023/09/09/jNTqxhR8.png) 测试:
### [反馈](https://t.me/luyouyu) ![demo2.png](https://img1.imgtp.com/2023/09/09/FHDNLixL.png)