xqdoo00o / ChatGPT-to-API

Scalable unofficial ChatGPT API for production.
650 stars 129 forks source link

如何配置多个oauth账号? #20

Closed dreammis closed 5 months ago

dreammis commented 10 months ago

我尝试在cookie.json中增加多个账号,在accounts.txt中配置相同多个账号 貌似是不行的,请问有办法配置多账号,负载均衡吗。

另外我在使用的过程中,常常会遇到无响应的情况,但是重启容器后,就恢复正常了。不知道你是否遇到过。这个该怎么解决。

bi1101 commented 10 months ago

This is a recent error, it seems that the requesting client is the problem and open ai has implemented some csrf when authenticating. No fixes for that yet. Not sure if this would help but here is another repo that has fixed this https://github.com/gngpp/ninja/commit/40fb18e756141a20a8c14d17c57e57f2fae838e0

bi1101 commented 10 months ago

The issue seems to have resolve itself