Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于代理问题 #41

Open
JoonSumisu opened this issue Mar 1, 2023 · 2 comments
Open

关于代理问题 #41

JoonSumisu opened this issue Mar 1, 2023 · 2 comments

Comments

@JoonSumisu
Copy link

我现在使用clash

由于koishi是针对大陆区域访问优化,我通过了clash规则将koishi排除了

但是同时我写了个规则专门针对chatgpt,由于各个代理稳定性经常变化,chatgpt也经常封代理,所以设置了自动选择代理。

在这种情况下,会话令牌有没有什么解法?
是推荐使用固定代理,还是从koishi下手?

谢谢

@ilharp
Copy link
Member

ilharp commented Mar 1, 2023

Koishi 方面,Koishi 只是默认对大陆地区访问优化。

移除对大陆地区访问优化的配置可以参考如下两步:

  1. koishi.yml 中删掉带有 https://registry.npmmirror.com 字样的行;
  2. 删掉 .env 文件中的所有行。

之后你便可将 Koishi 加入代理规则,但请注意如果使用 gocq 的话不要让 gocq 也通过代理连接。

@JoonSumisu
Copy link
Author

非常感谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants