sunner / ChatALL

Concurrently chat with ChatGPT, Bing Chat, Bard, Alpaca, Vicuna, Claude, ChatGLM, MOSS, 讯飞星火, 文心一言 and more, discover the best answers
http://chatall.ai
Apache License 2.0
15.02k stars 1.63k forks source link

[FEAT]ip被封无法登入,能不能像pandora一样绕开cf的检查?或者增加一个手动设置令牌的方式? #565

Open ATCThunder opened 11 months ago

ATCThunder commented 11 months ago

Is your feature request related to a problem? / 你想要的功能和什么问题相关?

ip被封,导致使用gpt3.5的时候一直卡在登入的cf检查中,一直循环 image

Describe the solution you'd like. / 你想要的解决方案是什么?

绕开cf检查,或者手动设置token的快捷入口

Describe alternatives you've considered. / 你考虑过的其他方案是什么?

No response

Additional context / 其他信息

No response

sunner commented 11 months ago

怎么绕开 cf 检查啊?

ghost commented 10 months ago

怎么绕开 cf 检查啊?

Use Cloudflare Workers

ATCThunder commented 10 months ago

有个开源项目Cloudflare Workers,你可以参考一下

ATCThunder commented 10 months ago

我现在用Poe的ChatGPT3.5,但感觉POE好像是阉割版本

ATCThunder commented 10 months ago

不知道是心理作用还是真的就是阉割

snoopytl commented 10 months ago

作者可以去看看Pandora项目,它是利用一个虚拟网站获取openai的api,然后在验证的时候填写,它的那个虚拟站的域名就好,其实就是添加一个自定义api接口的选项,刚才我试了设置,但没成功 image

QAbot-zh commented 10 months ago

作者可以去看看Pandora项目,它是利用一个虚拟网站获取openai的api,然后在验证的时候填写,它的那个虚拟站的域名就好,其实就是添加一个自定义api接口的选项,刚才我试了设置,但没成功 image

域名需要加上v1 image

sunner commented 10 months ago

怎么绕开 cf 检查啊?

Use Cloudflare Workers

@msaong 这是需要在 cf 开个服务当跳板?

sunner commented 10 months ago

作者可以去看看Pandora项目,它是利用一个虚拟网站获取openai的api,然后在验证的时候填写,它的那个虚拟站的域名就好,其实就是添加一个自定义api接口的选项,刚才我试了设置,但没成功 image

ChatALL 不会以这种方式部署服务端的。会坚持客户端、只可以「人」用的定位

ghost commented 10 months ago

怎么绕开 cf 检查啊?

Use Cloudflare Workers

@msaong 这是需要在 cf 开个服务当跳板?

Yes, that's pretty much it. Do you have time to work on this? I see that there are quite a few tagged requirements at the moment, and I'm not sure about the current priority level. Do you need me to take this? However, I'm also short on time, so it would probably take me a while to get it done.

ghost commented 10 months ago

作者可以去看看Pandora项目,它是利用一个虚拟网站获取openai的api,然后在验证的时候填写,它的那个虚拟站的域名就好,其实就是添加一个自定义api接口的选项,刚才我试了设置,但没成功 image

ChatALL 不会以这种方式部署服务端的。会坚持客户端、只可以「人」用的定位

Simple solution, we only need a domain replacement feature to replace the OpenAI domain. This feature is only for API requests.

sunner commented 10 months ago

Simple solution, we only need a domain replacement feature to replace the OpenAI domain. This feature is only for API requests.

What you mean is a customizable setting of ChatGPT base URL or ChatALL setup a proxy in cf worker?

Yes, that's pretty much it. Do you have time to work on this? I see that there are quite a few tagged requirements at the moment, and I'm not sure about the current priority level. Do you need me to take this? However, I'm also short on time, so it would probably take me a while to get it done.

It is funny to use Cloudflare to skip Cloudflare anti-spam checking. If it is a general solution and can have effects on all websites which depends on CF anti-spam checking, that will be great. There are several other LLMs usually request the checking and block direct API access.

It is great that you can finish this.

ghost commented 10 months ago

Simple solution, we only need a domain replacement feature to replace the OpenAI domain. This feature is only for API requests.

What you mean is a customizable setting of ChatGPT base URL or ChatALL setup a proxy in cf worker?

The statements in this section are mainly aimed at OpenAI's API solutions. There are now many API forwarding services available, and the code is very straightforward. However, this solution is only applicable to OpenAI's API (including Azure's API).

You can check this https://github.com/langchain-ai/langchainjs/issues/2598. I think we just need to add a few code to src\bots\openai\OpenAIAPI.js.

Yes, that's pretty much it. Do you have time to work on this? I see that there are quite a few tagged requirements at the moment, and I'm not sure about the current priority level. Do you need me to take this? However, I'm also short on time, so it would probably take me a while to get it done.

It is funny to use Cloudflare to skip Cloudflare anti-spam checking. If it is a general solution and can have effects on all websites which depends on CF anti-spam checking, that will be great. There are several other LLMs usually request the checking and block direct API access.

It is great that you can finish this.

What Cloudflare addresses here is the method of simulating web access, which does not conflict with the API section mentioned above. I can give it a try and see how it works.

sunner commented 10 months ago

The statements in this section are mainly aimed at OpenAI's API solutions. There are now many API forwarding services available, and the code is very straightforward. However, this solution is only applicable to OpenAI's API (including Azure's API).

The feature has been provided. I misunderstood the previous discussion.