vinurs

Results 42 comments of vinurs

我直接这样尝试设置了一下,还是不行 ``` (setenv "https_proxy" "http://127.0.0.1:7890") (setenv "http_proxy" "http://127.0.0.1:7890") (setq acm-backend-copilot-network-proxy '(:host "127.0.0.1" :port 7890)) ``` 这个问题也是最近才出现的,我之前一直用的好好的,配置啥的都没变过

试了一下,还是不行,同样的报错

> > 试了一下,还是不行,同样的报错 > > 你是不是代理不靠谱啊。 ;) 这个我也无法确认靠谱不靠谱,我访问其它的都蛮正常的

我安装了一下 vscode,然后在里面安装了一下 copilot 的插件,然后连接了我的github的账号,我看是可以补全的,这是不是可以排除我网络的问题了? ![CleanShot 2024-04-29 at 15 19 37@2x](https://github.com/manateelazycat/lsp-bridge/assets/37489300/35515f06-facf-43be-9bfa-a59dcf0cf3d2)

![CleanShot 2024-05-03 at 05 36 32@2x](https://github.com/manateelazycat/lsp-bridge/assets/37489300/7c8f84e9-89a1-468a-b2b1-7c17aedd8713) 我下载了一个gh命令行,然后在命令行下面是可以登录 copilot 的

@kongds 我看日志里面有这个,这是表示没有走代理么? ![CleanShot 2024-05-03 at 05 51 46@2x](https://github.com/manateelazycat/lsp-bridge/assets/37489300/da3cbe7c-7f5b-4663-84f3-afce49095d33)

@manateelazycat 对的,我用的clashx pro,然出站模式是选的 按照规则 来进行判断

``` diff --git a/core/copilot.py b/core/copilot.py index a63c2c8..fead47a 100644 --- a/core/copilot.py +++ b/core/copilot.py @@ -246,6 +246,9 @@ class Copilot: self.sender.send_request('signInInitiate', {'dummy': "signInInitiate"}, self.wait_id) while self.wait_id is not None: time.sleep(0.1) + +...

你这么一问我想起来,我之前的账号没有续费,换了一个账号续费的,难道本地还有啥记录什么的?

![CleanShot 2024-05-15 at 17 28 24@2x](https://github.com/manateelazycat/lsp-bridge/assets/37489300/253f90a6-fe71-4a09-a9a0-fddd378b8f87) https://github.com/copilot-emacs/copilot.el 我试了一下这个插件,是可以正常登录的