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

TypeError: '<' not supported between instances of 'NoneType' and 'int' #41

Closed scooter7 closed 1 year ago

scooter7 commented 1 year ago

I'm getting the following error when running camel.py on a Windows 11 PC.

I installed several requirements that were initially causing errors and now can get the streamlit app running.

But, after typing in my desired task, I get:

TypeError: '<' not supported between instances of 'NoneType' and 'int'

IntelligenzaArtificiale commented 1 year ago

Thanks for opening an issue. we will do our best to help you. You can share screenshots of the error. So we can figure out which line leads to the error.

scooter7 commented 1 year ago

TypeError: '<' not supported between instances of 'NoneType' and 'int' Traceback: File "C:\Users\jvineburgh\AppData\Local\Programs\Python\Python311\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 565, in _run_script exec(code, module.dict) File "C:\Users\jvineburgh\Downloads\Free-AUTO-GPT-with-NO-API-main\Free-AUTO-GPT-with-NO-API-main\Camel.py", line 190, in user_msg = assistant_agent.step(user_msg) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jvineburgh\Downloads\Free-AUTO-GPT-with-NO-API-main\Free-AUTO-GPT-with-NO-API-main\Camel.py", line 62, in step output_message = self.model(str(input_message.content)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jvineburgh\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\llms\base.py", line 246, in call return self.generate([prompt], stop=stop).generations[0][0].text ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jvineburgh\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\llms\base.py", line 140, in generate raise e File "C:\Users\jvineburgh\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\llms\base.py", line 137, in generate output = self._generate(prompts, stop=stop) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jvineburgh\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\llms\base.py", line 324, in _generate text = self._call(prompt, stop=stop) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jvineburgh\Downloads\Free-AUTO-GPT-with-NO-API-main\Free-AUTO-GPT-with-NO-API-main\FreeLLM\ChatGPTAPI.py", line 38, in _call self.chatbot = Chatbot(self.token) ^^^^^^^^^^^^^^^^^^^ File "C:\Users\jvineburgh\Downloads\Free-AUTO-GPT-with-NO-API-main\Free-AUTO-GPT-with-NO-API-main\FreeLLM\pyChatGPT.py", line 126, in init self.init_browser() File "C:\Users\jvineburgh\Downloads\Free-AUTO-GPT-with-NO-API-main\Free-AUTO-GPT-with-NO-API-main\FreeLLM\pyChatGPT.py", line 193, in __init_browser raise e File "C:\Users\jvineburgh\Downloads\Free-AUTO-GPT-with-NO-API-main\Free-AUTO-GPT-with-NO-API-main\FreeLLM\pyChatGPT.py", line 189, in init_browser self.driver = uc.Chrome(options=options) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jvineburgh\AppData\Local\Programs\Python\Python311\Lib\site-packages\undetected_chromedriver__init.py", line 374, in init__ if self.patcher.version_main < 108: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

IntelligenzaArtificiale commented 1 year ago

try to install python 3.11 from Microsoft Store . After update Chrome to version 112. Go to settings ( chrome://setting/help ) if your version is < 112 u need tu upadate chrome.

Then open the terminal and type:

scooter7 commented 1 year ago

Chrome version is up-to-date and listed as Version 112.0.5615.138

Python version is Python 3.11.3

Thanks!

IntelligenzaArtificiale commented 1 year ago

If it works now close the issue , thanks ❤

scooter7 commented 1 year ago

No, those versions of Python and Chrome were in place before I tested the app and received those errors.

IntelligenzaArtificiale commented 1 year ago

try to replace this module version in your requiriments.txt :

aiohttp==3.8.4
aiosignal==1.3.1
altair==4.2.2
anyio==3.6.2
async-generator==1.10
async-timeout==4.0.2
async-tio==1.3.2
attrs==23.1.0
beautifulsoup4==4.12.2
blinker==1.6.2
cachetools==5.3.0
certifi==2022.12.7
cffi==1.15.1
charset-normalizer==3.1.0
click==8.1.3
colorama==0.4.6
dataclasses-json==0.5.7
decorator==5.1.1
diskcache==5.6.1
duckduckgo-search==2.9.1
entrypoints==0.4
exceptiongroup==1.1.1
faiss-cpu==1.7.4
filelock==3.12.0
frozenlist==1.3.3
fsspec==2023.4.0
gitdb==4.0.10
GitPython==3.1.31
greenlet==2.0.1
h11==0.14.0
httpcore==0.17.0
httpx==0.24.0
hugchat==0.0.5.1
huggingface-hub==0.14.1
idna==3.4
importlib-metadata==6.6.0
iniconfig==2.0.0
Jinja2==3.1.2
jsonschema==4.17.3
langchain==0.0.154
markdown-it-py==2.2.0
markdownify==0.11.6
MarkupSafe==2.1.2
marshmallow==3.19.0
marshmallow-enum==1.5.1
mdurl==0.1.2
mpmath==1.3.0
multidict==6.0.4
mypy-extensions==1.0.0
nest-asyncio==1.5.6
networkx==3.1
numexpr==2.8.4
numpy==1.24.3
openai==0.27.5
OpenAIAuth==0.3.6
openapi-schema-pydantic==1.2.4
outcome==1.2.0
packaging==23.1
pandas==2.0.1
Pillow==9.5.0
playwright==1.32.1
pluggy==1.0.0
prompt-toolkit==3.0.38
protobuf==3.20.3
py==1.11.0
pyarrow==11.0.0
pycparser==2.21
pydantic==1.10.7
pydeck==0.8.1b0
pyee==9.0.4
Pygments==2.15.1
Pympler==1.0.1
pyrsistent==0.19.3
PySocks==1.7.1
pytest==7.3.1
pytest-base-url==2.0.0
pytest-playwright==0.3.3
python-dateutil==2.8.2
python-slugify==8.0.1
pytz==2023.3
pytz-deprecation-shim==0.1.0.post0
PyYAML==6.0
regex==2023.3.23
requests==2.29.0
retry==0.9.2
revChatGPT==5.0.0
rich==13.3.5
selenium==4.9.0
six==1.16.0
smmap==5.0.0
sniffio==1.3.0
socksio==1.0.0
sortedcontainers==2.4.0
soupsieve==2.4.1
SQLAlchemy==2.0.12
streamlit==1.22.0
streamlit-chat-media==0.0.4
sympy==1.11.1
tabulate==0.9.0
tenacity==8.2.2
text-unidecode==1.3
tiktoken==0.3.3
tokenizers==0.13.3
toml==0.10.2
toolz==0.12.0
torch==2.0.0
tornado==6.3.1
tqdm==4.65.0
transformers==4.28.1
trio==0.22.0
trio-websocket==0.10.2
typing-inspect==0.8.0
typing_extensions==4.5.0
tzdata==2023.3
tzlocal==4.3
undetected-chromedriver==3.4.6
urllib3==1.26.15
validators==0.20.0
watchdog==3.0.0
wcwidth==0.2.6
websockets==11.0.2
wikipedia==1.4.0
wsproto==1.2.0
yarl==1.9.2
zipp==3.15.0

or check if u have another version of undetected-chromedriver . This is our pip3.11 freez on Windows11 .

scooter7 commented 1 year ago

After doing that, I receive:

TypeError: '<' not supported between instances of 'NoneType' and 'int' Traceback: File "C:\Users\jvineburgh\AppData\Local\Programs\Python\Python311\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 565, in _run_script exec(code, module.dict) File "C:\Users\jvineburgh\Downloads\Free-AUTO-GPT-with-NO-API-main\Free-AUTO-GPT-with-NO-API-main\Camel.py", line 190, in user_msg = assistant_agent.step(user_msg) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jvineburgh\Downloads\Free-AUTO-GPT-with-NO-API-main\Free-AUTO-GPT-with-NO-API-main\Camel.py", line 62, in step output_message = self.model(str(input_message.content)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jvineburgh\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\llms\base.py", line 281, in call self.generate([prompt], stop=stop, callbacks=callbacks) File "C:\Users\jvineburgh\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\llms\base.py", line 176, in generate raise e File "C:\Users\jvineburgh\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\llms\base.py", line 170, in generate self._generate(prompts, stop=stop, run_manager=run_manager) File "C:\Users\jvineburgh\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\llms\base.py", line 379, in _generate else self._call(prompt, stop=stop) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jvineburgh\Downloads\Free-AUTO-GPT-with-NO-API-main\Free-AUTO-GPT-with-NO-API-main\FreeLLM\ChatGPTAPI.py", line 38, in _call self.chatbot = Chatbot(self.token) ^^^^^^^^^^^^^^^^^^^ File "C:\Users\jvineburgh\Downloads\Free-AUTO-GPT-with-NO-API-main\Free-AUTO-GPT-with-NO-API-main\FreeLLM\pyChatGPT.py", line 126, in init self.init_browser() File "C:\Users\jvineburgh\Downloads\Free-AUTO-GPT-with-NO-API-main\Free-AUTO-GPT-with-NO-API-main\FreeLLM\pyChatGPT.py", line 193, in __init_browser raise e File "C:\Users\jvineburgh\Downloads\Free-AUTO-GPT-with-NO-API-main\Free-AUTO-GPT-with-NO-API-main\FreeLLM\pyChatGPT.py", line 189, in init_browser self.driver = uc.Chrome(options=options) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jvineburgh\AppData\Local\Programs\Python\Python311\Lib\site-packages\undetected_chromedriver__init.py", line 374, in init__ if self.patcher.version_main < 108: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

IntelligenzaArtificiale commented 1 year ago

We apologize for the many tests I'm having you do. But you are helping us a lot to understand the fragility of our project.

Can u try to digit on your cmd pip3.11 install -U pyChatGPT

and rerun streamlit run Camel.py

scooter7 commented 1 year ago

I did a pip freeze, revised the requirements.tx document per what my cmd prompt listed and now get the following error: Screenshot 2023-05-01 172344

scooter7 commented 1 year ago

I tried what you asked in your las t reply and received:

TypeError: '<' not supported between instances of 'NoneType' and 'int' Traceback: File "C:\Users\jvineburgh\AppData\Local\Programs\Python\Python311\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 565, in _run_script exec(code, module.dict) File "C:\Users\jvineburgh\Downloads\Free-AUTO-GPT-with-NO-API-main\Free-AUTO-GPT-with-NO-API-main\Camel.py", line 190, in user_msg = assistant_agent.step(user_msg) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jvineburgh\Downloads\Free-AUTO-GPT-with-NO-API-main\Free-AUTO-GPT-with-NO-API-main\Camel.py", line 62, in step output_message = self.model(str(input_message.content)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jvineburgh\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\llms\base.py", line 281, in call self.generate([prompt], stop=stop, callbacks=callbacks) File "C:\Users\jvineburgh\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\llms\base.py", line 176, in generate raise e File "C:\Users\jvineburgh\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\llms\base.py", line 170, in generate self._generate(prompts, stop=stop, run_manager=run_manager) File "C:\Users\jvineburgh\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\llms\base.py", line 379, in _generate else self._call(prompt, stop=stop) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jvineburgh\Downloads\Free-AUTO-GPT-with-NO-API-main\Free-AUTO-GPT-with-NO-API-main\FreeLLM\ChatGPTAPI.py", line 38, in _call self.chatbot = Chatbot(self.token) ^^^^^^^^^^^^^^^^^^^ File "C:\Users\jvineburgh\Downloads\Free-AUTO-GPT-with-NO-API-main\Free-AUTO-GPT-with-NO-API-main\FreeLLM\pyChatGPT.py", line 126, in init self.init_browser() File "C:\Users\jvineburgh\Downloads\Free-AUTO-GPT-with-NO-API-main\Free-AUTO-GPT-with-NO-API-main\FreeLLM\pyChatGPT.py", line 193, in __init_browser raise e File "C:\Users\jvineburgh\Downloads\Free-AUTO-GPT-with-NO-API-main\Free-AUTO-GPT-with-NO-API-main\FreeLLM\pyChatGPT.py", line 189, in init_browser self.driver = uc.Chrome(options=options) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jvineburgh\AppData\Local\Programs\Python\Python311\Lib\site-packages\undetected_chromedriver__init.py", line 374, in init__ if self.patcher.version_main < 108: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

IntelligenzaArtificiale commented 1 year ago

Ok most likely you are using libraries for your projects that conflict with our project.

One solution to this issue is to create a virtual environment specifically for our project. This will allow you to install the necessary dependencies without affecting your global Python installation or other projects.

To create a virtual environment, you can use the built-in venv module in Python. Here are the steps:

Open a command prompt or terminal window. Navigate to our project directory.

Run the command "python3.11 -m venv env" to create a new virtual environment called "env".

Activate the virtual environment by running the command "env\Scripts\activate" on Windows or "source env/bin/activate" on macOS/Linux.

Once the virtual environment is active, you can install the dependencies listed.

Frist run "pip3.11 install -U pyChatGPT" after install requirements.txt by running the command "pip3.11 install -r requirements.txt".

dwk601 commented 1 year ago

I have the same issue as him

TypeError: '<' not supported between instances of 'NoneType' and 'int' Traceback: File "c:\Users\ninan.PLSNO\Documents\Personal\Free-AUTO-GPT-with-NO-API.venv\lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 565, in _run_script exec(code, module.dict) File "C:\Users\ninan.PLSNO\Documents\Personal\Free-AUTO-GPT-with-NO-API\Camel.py", line 190, in user_msg = assistant_agent.step(user_msg) File "C:\Users\ninan.PLSNO\Documents\Personal\Free-AUTO-GPT-with-NO-API\Camel.py", line 62, in step output_message = self.model(str(input_message.content)) File "c:\Users\ninan.PLSNO\Documents\Personal\Free-AUTO-GPT-with-NO-API.venv\lib\site-packages\langchain\llms\base.py", line 281, in call self.generate([prompt], stop=stop, callbacks=callbacks) File "c:\Users\ninan.PLSNO\Documents\Personal\Free-AUTO-GPT-with-NO-API.venv\lib\site-packages\langchain\llms\base.py", line 176, in generate raise e File "c:\Users\ninan.PLSNO\Documents\Personal\Free-AUTO-GPT-with-NO-API.venv\lib\site-packages\langchain\llms\base.py", line 170, in generate self._generate(prompts, stop=stop, run_manager=run_manager) File "c:\Users\ninan.PLSNO\Documents\Personal\Free-AUTO-GPT-with-NO-API.venv\lib\site-packages\langchain\llms\base.py", line 379, in _generate else self._call(prompt, stop=stop) File "C:\Users\ninan.PLSNO\Documents\Personal\Free-AUTO-GPT-with-NO-API\FreeLLM\ChatGPTAPI.py", line 38, in _call self.chatbot = Chatbot(self.token) File "C:\Users\ninan.PLSNO\Documents\Personal\Free-AUTO-GPT-with-NO-API\FreeLLM\pyChatGPT.py", line 126, in init self.init_browser() File "C:\Users\ninan.PLSNO\Documents\Personal\Free-AUTO-GPT-with-NO-API\FreeLLM\pyChatGPT.py", line 193, in __init_browser raise e File "C:\Users\ninan.PLSNO\Documents\Personal\Free-AUTO-GPT-with-NO-API\FreeLLM\pyChatGPT.py", line 189, in init_browser self.driver = uc.Chrome(options=options) File "c:\Users\ninan.PLSNO\Documents\Personal\Free-AUTO-GPT-with-NO-API.venv\lib\site-packages\undetected_chromedriver__init.py", line 374, in init__ if self.patcher.version_main < 108:

IntelligenzaArtificiale commented 1 year ago

We have now updated the code. Please try to re-download pyChatGPT which we modified.

We noticed that undetected-chromedriver has a small https://github.com/ultrafunkamsterdam/undetected-chromedriver/issues/1200 which seems to be fixed by changing this line:

self.driver = uc.Chrome(options=options)

with this :

self.driver = uc.Chrome(options=options, version_main=112)

scooter7 commented 1 year ago

Hi, so do I need to change that line or did you already do it in the revised code?

Thanks so much for all of your help!

IntelligenzaArtificiale commented 1 year ago

@scooter7 Thanks to you for helping us to discover the problems of our project.

We have already uploaded the update version. Tell us if now work

dwk601 commented 1 year ago

@scooter7 Thanks to you for helping us to discover the problems of our project.

We have already uploaded the update version. Tell us if now work

It works now after pull the repo to my local machine thank you for all your work

scooter7 commented 1 year ago

It is working perfectly now! Thanks so much and amazing job!

IntelligenzaArtificiale commented 1 year ago

Big guys !! Thank you very much for the many tests you have done. We love you!

scooter7 commented 1 year ago

Hi, everything was working fine. But, I just started to receive the following errors:

IndexError: list index out of range Traceback: File "C:\Users\jvineburgh\AppData\Local\Programs\Python\Python311\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 565, in _run_script exec(code, module.dict) File "C:\Users\jvineburgh\Downloads\Free-AUTO-GPT-with-NO-API-main\Free-AUTO-GPT-with-NO-API-main\Camel.py", line 98, in specified_task_msg = task_specify_agent.step(task_specifier_msg) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jvineburgh\Downloads\Free-AUTO-GPT-with-NO-API-main\Free-AUTO-GPT-with-NO-API-main\Camel.py", line 62, in step output_message = self.model(str(input_message.content)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jvineburgh\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\llms\base.py", line 281, in call self.generate([prompt], stop=stop, callbacks=callbacks) File "C:\Users\jvineburgh\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\llms\base.py", line 176, in generate raise e File "C:\Users\jvineburgh\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\llms\base.py", line 170, in generate self._generate(prompts, stop=stop, run_manager=run_manager) File "C:\Users\jvineburgh\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\llms\base.py", line 379, in _generate else self._call(prompt, stop=stop) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jvineburgh\Downloads\Free-AUTO-GPT-with-NO-API-main\Free-AUTO-GPT-with-NO-API-main\FreeLLM\ChatGPTAPI.py", line 50, in _call data = self.chatbot.send_message(prompt) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jvineburgh\Downloads\Free-AUTO-GPT-with-NO-API-main\Free-AUTO-GPT-with-NO-API-main\FreeLLM\pyChatGPT.py", line 449, in send_message response = self.driver.find_elements(*chatgpt_small_response)[-1]

IntelligenzaArtificiale commented 1 year ago

@scooter7 Now we believe that this new error is due to the fact that openai.chat.com takes longer than expected to process the response. So the scraper doesn't wait long enough to read the finished output.

Try to modify this line FreeLLM/pyChatGPT.py#L438 .

Replace this :

WebDriverWait(self.driver, 120).until_not(
            EC.presence_of_element_located(chatgpt_streaming)
        )

with this :

WebDriverWait(self.driver, 240).until_not(
            EC.presence_of_element_located(chatgpt_streaming)
        )

Also for help us to debug your error change this line of FreeLLM/pyChatGPT.py . Change the value of verbose to True on default.

scooter7 commented 1 year ago

Hi, the app started to work with the changes that you specified applied to the code. But, I then received:

ElementClickInterceptedException: Message: element click intercepted: Element ... is not clickable at point (130, 116). Other element would receive the click:

...
(Session info: chrome=112.0.5615.138) Stacktrace: Backtrace: GetHandleVerifier [0x005CDCE3+50899] (No symbol) [0x0055E111] (No symbol) [0x00465588] (No symbol) [0x00495A7A] (No symbol) [0x00494336] (No symbol) [0x0049267B] (No symbol) [0x00491797] (No symbol) [0x004894A5] (No symbol) [0x004AB8FC] (No symbol) [0x00488EC6] (No symbol) [0x004ABC54] (No symbol) [0x004BE01C] (No symbol) [0x004AB6F6] (No symbol) [0x00487708] (No symbol) [0x0048886D] GetHandleVerifier [0x00833EAE+2566302] GetHandleVerifier [0x008692B1+2784417] GetHandleVerifier [0x0086327C+2759788] GetHandleVerifier [0x00665740+672048] (No symbol) [0x00568872] (No symbol) [0x005641C8] (No symbol) [0x005642AB] (No symbol) [0x005571B7] BaseThreadInitThunk [0x75C77D49+25] RtlInitializeExceptionChain [0x772FB74B+107] RtlClearBits [0x772FB6CF+191] Traceback: File "C:\Users\jvineburgh\AppData\Local\Programs\Python\Python311\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 565, in _run_script exec(code, module.dict) File "C:\Users\jvineburgh\Downloads\Free-AUTO-GPT-with-NO-API-main\Free-AUTO-GPT-with-NO-API-main\Camel.py", line 190, in user_msg = assistant_agent.step(user_msg) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jvineburgh\Downloads\Free-AUTO-GPT-with-NO-API-main\Free-AUTO-GPT-with-NO-API-main\Camel.py", line 62, in step output_message = self.model(str(input_message.content)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jvineburgh\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\llms\base.py", line 281, in call self.generate([prompt], stop=stop, callbacks=callbacks) File "C:\Users\jvineburgh\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\llms\base.py", line 176, in generate raise e File "C:\Users\jvineburgh\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\llms\base.py", line 170, in generate self._generate(prompts, stop=stop, run_manager=run_manager) File "C:\Users\jvineburgh\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\llms\base.py", line 379, in _generate else self._call(prompt, stop=stop) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jvineburgh\Downloads\Free-AUTO-GPT-with-NO-API-main\Free-AUTO-GPT-with-NO-API-main\FreeLLM\ChatGPTAPI.py", line 50, in _call data = self.chatbot.send_message(prompt) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jvineburgh\Downloads\Free-AUTO-GPT-with-NO-API-main\Free-AUTO-GPT-with-NO-API-main\FreeLLM\pyChatGPT.py", line 465, in send_message ).click() ^^^^^^^ File "C:\Users\jvineburgh\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\webelement.py", line 94, in click self._execute(Command.CLICK_ELEMENT) File "C:\Users\jvineburgh\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\webelement.py", line 403, in _execute return self._parent.execute(command, params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\jvineburgh\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 440, in execute self.error_handler.check_response(response) File "C:\Users\jvineburgh\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 245, in check_response raise exception_class(message, screen, stacktrace)

Here is a screenshot of what I was trying to accomplish:

screencapture-localhost-8501-2023-05-02-12_04_03