mirror of
https://gitee.com/chuangxxt/share-copilot
synced 2025-06-09 21:23:24 +00:00
2023.9.9
This commit is contained in:
parent
04b1f4965c
commit
2133489752
17
README.md
17
README.md
@ -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
|
|||||||
|
|
||||||
运行截图
|
运行截图
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
本地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"}}}
|
||||||
```
|
```
|
||||||

|
测试:
|
||||||
|
|
||||||
### [反馈](https://t.me/luyouyu)
|

|
||||||
|
Loading…
Reference in New Issue
Block a user