dice2o / BingGPT

Desktop application of new Bing's AI-powered chat (Windows, macOS and Linux)
Apache License 2.0
9.26k stars 709 forks source link

可否独立设置代理? #30

Open GitatHub opened 1 year ago

GitatHub commented 1 year ago

目前这个程序需要在全局代理或者系统代理模式下才能运行,否则打开是个空白页面。 但是全局或系统代理会影响其他程序,如果这个程序能单独设置单独的代理就好了。

目前微软开始大批量阻止使用代理方式访问 New Bing,导致 Edge Dev 内已经无法使用 New Bing。

HChaZZY commented 1 year ago

更新:请在指向BingGPT.exe的快捷方式中传入 --proxy-server=你的代理服务器地址

参考 https://github.com/dice2o/BingGPT/issues/30#issuecomment-1486440019

可以使用Proxifier指定BingGPT.exe使用代理服务器(HTTP/HTTPS/SOCKS5)

GitatHub commented 1 year ago

更新: 开启 DNS and IP Leak Prevention Mode,可以用了。

试了Proxyfier,无效。 [03.26] Welcome to Proxifier v4.11 x64 [03.26] binggpt.exe - edgeservices.bing.com:443 open through proxy 127.0.0.1:7890 SOCKS5

然后就不动,BingGPT一直是空白。 将Clash设置为系统代理,BingGTP才可以正常使用。

HChaZZY commented 1 year ago

[03.26 21:59:02] BingGPT.exe *64 - edgeservices.bing.com:443 打开通过代理 Clash SOCKS5 这是我用Proxifier尝试的结果。 请检查你的Clash连接设置,在Connections中有没有对应的连接,并确保这个连接是通过代理的连接,而非在规则和直连模式下选择了直接连接

GitatHub commented 1 year ago

谢谢。我前面更新回复了。 打开 Proxifier的 DNS and IP Leak Prevention Mode可用。

[03.26 21:59:02] BingGPT.exe *64 - edgeservices.bing.com:443 打开通过代理 Clash SOCKS5 这是我用Proxifier尝试的结果。 请检查你的Clash连接设置,在Connections中有没有对应的连接,并确保这个连接是通过代理的连接,而非在规则和直连模式下选择了直接连接

HChaZZY commented 1 year ago

谢谢。我前面更新回复了。 打开 Proxifier的 DNS and IP Leak Prevention Mode可用。

[03.26 21:59:02] BingGPT.exe *64 - edgeservices.bing.com:443 打开通过代理 Clash SOCKS5 这是我用Proxifier尝试的结果。 请检查你的Clash连接设置,在Connections中有没有对应的连接,并确保这个连接是通过代理的连接,而非在规则和直连模式下选择了直接连接

我使用的是Proxifier的中文汉化版本,并不知道DNS and IP Leak Prevention Mode是什么。 如果指的是配置文件 -> 名称解析的设置,我勾选了Proxifier DNS 设置中的自动检测 DNS 设置,不允许解析所有的主机名,拦截所有基于 UDP 的 DNS 处理。 很高兴能够解决问题!

GitatHub commented 1 year ago

那我就截个屏吧,方便其他人。 谢谢你这个程序。 image

Cooky-12 commented 1 year ago

好像 chrome 的命令参数可以用 BingGPT.exe --proxy-server=127.0.0.1:1080

you can try chrome arguments BingGPT.exe --proxy-server=127.0.0.1:1080

ryanInf commented 1 year ago

好像 chrome 的命令参数可以用 BingGPT.exe --proxy-server=127.0.0.1:1080

you can try chrome arguments BingGPT.exe --proxy-server=127.0.0.1:1080

感谢,最优解,亲测有效

HChaZZY commented 1 year ago

好像 chrome 的命令参数可以用 BingGPT.exe --proxy-server=127.0.0.1:1080

you can try chrome arguments BingGPT.exe --proxy-server=127.0.0.1:1080

我测试了一下,可以使用。 我已经更新了 https://github.com/dice2o/BingGPT/issues/30#issuecomment-1483895718 的回复。感谢。

GitatHub commented 1 year ago

赞,快捷方式后面加上 --proxy-server=127.0.0.1:1080 就可以了。 可以不用 Proxifier 了 :)

好像 chrome 的命令参数可以用 BingGPT.exe --proxy-server=127.0.0.1:1080

you can try chrome arguments BingGPT.exe --proxy-server=127.0.0.1:1080

Yang-Kyle commented 1 year ago

好像 chrome 的命令参数可以用 BingGPT.exe --proxy-server=127.0.0.1:1080 you can try chrome arguments BingGPT.exe --proxy-server=127.0.0.1:1080

还是一片白色(悲)