IntelligenzaArtificiale / Free-Auto-GPT

Free Auto GPT with NO paids API is a repository that offers a simple version of Auto GPT, an autonomous AI agent capable of performing tasks independently. Unlike other versions, our implementation does not rely on any paid OpenAI API, making it accessible to anyone.
MIT License
2.44k stars 384 forks source link

Suspicious URL found #37

Closed carct closed 1 year ago

carct commented 1 year ago

got a trace that sounds concerning

Traceback (most recent call last):
  File "E:\_Experiments\repos\Free-AutoGPT\Free-AUTO-GPT-with-NO-API\.venv\Lib\site-packages\revChatGPT\V1.py", line 668, in __check_response
    response.raise_for_status()
  File "E:\_Experiments\repos\Free-AutoGPT\Free-AUTO-GPT-with-NO-API\.venv\Lib\site-packages\requests\models.py", line 1021, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 413 Client Error: Payload Too Large for url: https://ai.fakeopen.com/api/conversation

funny URL, no? :)

doesn't sound that you can trust that unofficial ChatGPT SDK...

ref: https://github.com/acheong08/ChatGPT/blob/5c3aa18924b7997975f2383b578c85a3328469f3/src/revChatGPT/V1.py#L84

carct commented 1 year ago

ok, so over here you would find a mention about that proxy (translate page, Warning section > item 4) https://github.com/Chanzhaoyu/chatgpt-web

also translate and check the page: https://ai.fakeopen.com/auth

maybe it is useful for some people, but that should definitely not be the default way of working, using that reverse-proxy it obviously sends my token to that server and potentially enables the server-owners to gather thousands of tokens, some of them with premium subscription - not cool

IMHO you should consider changing defaults as immediate action and then forking / creating your own SDK without these kind of things

IntelligenzaArtificiale commented 1 year ago

Done , we have update the code with a new solution.

Now we need you help for try to fix error of selenium on colab. Can you help me ?

acheong08 commented 1 year ago

The URL is a proxy to get around cloudflare. There are many alternative proxies out there if you don't trust that specific one

acheong08 commented 1 year ago

image

Open source cloudflare bypass proxies: https://github.com/acheong08/ChatGPT-Proxy-V4 https://github.com/linweiyuan/go-chatgpt-api

acheong08 commented 1 year ago

IMHO you should consider changing defaults as immediate action and then forking / creating your own SDK without these kind of things

It is currently not possible to bypass cloudflare without a proxy. It requires tls spoofing which exists in Python but breaks streaming. If you have any ideas, please share.