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 383 forks source link

Selenium remote web access, selection problem when ChatGPT Cookie #102

Closed 3girls1cup closed 1 year ago

3girls1cup commented 1 year ago
⚠️INSTRUCTIONS: Can't run any of the models with ChatGPT Cookie - Enter ONE "x" inside the brackets [x] to choose the answer - [x] Example - [ ] Example2

Have you already searched for your ISSUE among the resolved ones?

What version of Python do you have?

What version of operating system do you have?

What type of installation did you perform?

Desktop (please complete the following information):

Describe the bug First of all, thanky for the great work you are doing here, much appreciated !

Here is the error I keep getting, seems like the selenium can't click on the right element... Did I do something wrong ? Followed all the instructions, the entered cookie is the right one. Tried to leave one window open connected to chat.openai.com (I'm only using the ChatGPT version), then closed, tried to use BabyAGI, AUTOGPT, none of the solution worked. What would be the problem, the container, the cookie ? Worth mentionning that I apparently have Python 3.10, could this be it ?

I'm lost... If someone could help me, would be great ! Thank you for your time and hope I don't bother with silly a silly problem...

Traceback (most recent call last): File "/workspace/FreeAutoGPT/FreeLLM/pyChatGPT.py", line 449, in send_message textbox.click() File "/usr/local/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py", line 94, in click self._execute(Command.CLICK_ELEMENT) File "/usr/local/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py", line 403, in _execute return self._parent.execute(command, params) File "/usr/local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute self.error_handler.check_response(response) File "/usr/local/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.ElementClickInterceptedException: Message: element click intercepted: Element is not clickable at point (1098, 931). Other element would receive the click:

...
(Session info: chrome=113.0.5672.63)

3girls1cup commented 1 year ago

Sorry, I didn't see that closed issue #50 was about the same issue, nontheless, you answered it saying the repo was updated to fix the problem. Should I try the solution you provided there ?

IntelligenzaArtificiale commented 1 year ago

@3girls1cup Thank you very much for using our ISSUE template.

Today we updated the file https://github.com/IntelligenzaArtificiale/Free-Auto-GPT/blob/main/FreeLLM/pyChatGPT.py , so first make sure you have the latest update.

If you have the latest update, follow these steps:

For example, it could happen that OpenAI has changed the html page and therefore the welcome messages are not closed correctly.

If you can share with us the video of what happens, it would help us a lot to understand your problem

3girls1cup commented 1 year ago

Thanks for the reply, updated the repo and started working :)