Giter Club home page Giter Club logo

intelligenzaartificiale / free-auto-gpt Goto Github PK

View Code? Open in Web Editor NEW
2.5K 48.0 383.0 35.42 MB

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.

License: MIT License

Python 50.78% Jupyter Notebook 49.03% Dockerfile 0.19%
autogpt autogpt-no-paid-api democratize-ai free-autogpt open-source-auto-gpt open-source-gpt chatgpt chatgpt-api gpt-4 gpt4

free-auto-gpt's People

Contributors

darpan-jain avatar erol444 avatar flamingfury00 avatar intelligenzaartificiale avatar jianboy avatar themanwholikestocode avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

free-auto-gpt's Issues

Error when installing requirements.

Not sure why this wont work. I also couldn't get the collar to work. A simple instruction video would be helpful.

`Requirement already satisfied: requests in /Users/dylanwhite/miniconda3/lib/python3.10/site-packages (from -r requirements.txt (line 1)) (2.28.2)
Collecting langchain
Using cached langchain-0.0.153-py3-none-any.whl (696 kB)
Collecting streamlit
Using cached streamlit-1.22.0-py2.py3-none-any.whl (8.9 MB)
Collecting streamlit-chat-media
Using cached streamlit_chat_media-0.0.4-py3-none-any.whl (2.7 MB)
Requirement already satisfied: numpy in /Users/dylanwhite/miniconda3/lib/python3.10/site-packages (from -r requirements.txt (line 5)) (1.24.2)
Collecting retry
Using cached retry-0.9.2-py2.py3-none-any.whl (8.0 kB)
Collecting revChatGPT
Using cached revChatGPT-5.0.0-py3-none-any.whl (32 kB)
Collecting duckduckgo-search
Using cached duckduckgo_search-2.9.1-py3-none-any.whl (30 kB)
Requirement already satisfied: transformers in /Users/dylanwhite/miniconda3/lib/python3.10/site-packages (from -r requirements.txt (line 9)) (4.27.4)
Collecting tabulate
Using cached tabulate-0.9.0-py3-none-any.whl (35 kB)
Collecting wikipedia
Using cached wikipedia-1.4.0.tar.gz (27 kB)
Preparing metadata (setup.py) ... done
Collecting faiss-gpu
Using cached faiss-gpu-1.7.1.post2.tar.gz (40 kB)
Preparing metadata (setup.py) ... done
WARNING: Generating metadata for package faiss-gpu produced metadata for project name faiss-cpu. Fix your #egg=faiss-gpu fragments.
Discarding https://files.pythonhosted.org/packages/17/76/47d0cc8161f4bf988583a2839bb1e56baf09d6b80cfa472b9eba4d5f543b/faiss-gpu-1.7.1.post2.tar.gz (from https://pypi.org/simple/faiss-gpu/): Requested faiss-cpu from https://files.pythonhosted.org/packages/17/76/47d0cc8161f4bf988583a2839bb1e56baf09d6b80cfa472b9eba4d5f543b/faiss-gpu-1.7.1.post2.tar.gz (from -r requirements.txt (line 12)) has inconsistent name: expected 'faiss-gpu', but metadata has 'faiss-cpu'
Using cached faiss-gpu-1.7.1.post1.tar.gz (41 kB)
Preparing metadata (setup.py) ... done
WARNING: Generating metadata for package faiss-gpu produced metadata for project name faiss-cpu. Fix your #egg=faiss-gpu fragments.
Discarding https://files.pythonhosted.org/packages/39/8d/b62bc92c8dd4b2a99d4a06b8804280f6445748b6d698eabb037e111080c7/faiss-gpu-1.7.1.post1.tar.gz (from https://pypi.org/simple/faiss-gpu/): Requested faiss-cpu from https://files.pythonhosted.org/packages/39/8d/b62bc92c8dd4b2a99d4a06b8804280f6445748b6d698eabb037e111080c7/faiss-gpu-1.7.1.post1.tar.gz (from -r requirements.txt (line 12)) has inconsistent name: expected 'faiss-gpu', but metadata has 'faiss-cpu'
Using cached faiss-gpu-1.7.1.tar.gz (40 kB)
Preparing metadata (setup.py) ... done
WARNING: Generating metadata for package faiss-gpu produced metadata for project name faiss-cpu. Fix your #egg=faiss-gpu fragments.
Discarding https://files.pythonhosted.org/packages/51/85/7a7490dbecaea9272953b88e236a45fe8c47571a069bc28b352f0b224ea3/faiss-gpu-1.7.1.tar.gz (from https://pypi.org/simple/faiss-gpu/): Requested faiss-cpu from https://files.pythonhosted.org/packages/51/85/7a7490dbecaea9272953b88e236a45fe8c47571a069bc28b352f0b224ea3/faiss-gpu-1.7.1.tar.gz (from -r requirements.txt (line 12)) has inconsistent name: expected 'faiss-gpu', but metadata has 'faiss-cpu'
Using cached faiss-gpu-1.7.0.tar.gz (34 kB)
Preparing metadata (setup.py) ... done
WARNING: Generating metadata for package faiss-gpu produced metadata for project name faiss-cpu. Fix your #egg=faiss-gpu fragments.
Discarding https://files.pythonhosted.org/packages/63/15/289ecf5d23f209c4c6f2f5f4db1d2b4a2be22d1fc49619354363e9367c19/faiss-gpu-1.7.0.tar.gz (from https://pypi.org/simple/faiss-gpu/): Requested faiss-cpu from https://files.pythonhosted.org/packages/63/15/289ecf5d23f209c4c6f2f5f4db1d2b4a2be22d1fc49619354363e9367c19/faiss-gpu-1.7.0.tar.gz (from -r requirements.txt (line 12)) has inconsistent name: expected 'faiss-gpu', but metadata has 'faiss-cpu'
Using cached faiss-gpu-1.6.5.tar.gz (28 kB)
Preparing metadata (setup.py) ... done
WARNING: Generating metadata for package faiss-gpu produced metadata for project name faiss-cpu. Fix your #egg=faiss-gpu fragments.
Discarding https://files.pythonhosted.org/packages/9c/27/3477c856ea3d678619c33ae72f89ede4fbe08e9c5ba3b89a5feb3d9938b0/faiss-gpu-1.6.5.tar.gz (from https://pypi.org/simple/faiss-gpu/): Requested faiss-cpu from https://files.pythonhosted.org/packages/9c/27/3477c856ea3d678619c33ae72f89ede4fbe08e9c5ba3b89a5feb3d9938b0/faiss-gpu-1.6.5.tar.gz (from -r requirements.txt (line 12)) has inconsistent name: expected 'faiss-gpu', but metadata has 'faiss-cpu'
Using cached faiss-gpu-1.6.4.post2.tar.gz (25 kB)
Preparing metadata (setup.py) ... done
WARNING: Generating metadata for package faiss-gpu produced metadata for project name faiss-cpu. Fix your #egg=faiss-gpu fragments.
Discarding https://files.pythonhosted.org/packages/7d/00/b3aaad408a44e4f5d87ebfcd75d0b14eeaed9fe9bc7a9f5e185ff1d503d6/faiss-gpu-1.6.4.post2.tar.gz (from https://pypi.org/simple/faiss-gpu/): Requested faiss-cpu from https://files.pythonhosted.org/packages/7d/00/b3aaad408a44e4f5d87ebfcd75d0b14eeaed9fe9bc7a9f5e185ff1d503d6/faiss-gpu-1.6.4.post2.tar.gz (from -r requirements.txt (line 12)) has inconsistent name: expected 'faiss-gpu', but metadata has 'faiss-cpu'
Using cached faiss-gpu-1.6.4.tar.gz (3.4 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [7 lines of output]
running egg_info
creating /private/var/folders/s_/8x1nm6wx53z2m0478zhgrc6r0000gn/T/pip-pip-egg-info-1k89xptk/faiss_cpu.egg-info
writing /private/var/folders/s_/8x1nm6wx53z2m0478zhgrc6r0000gn/T/pip-pip-egg-info-1k89xptk/faiss_cpu.egg-info/PKG-INFO
writing dependency_links to /private/var/folders/s_/8x1nm6wx53z2m0478zhgrc6r0000gn/T/pip-pip-egg-info-1k89xptk/faiss_cpu.egg-info/dependency_links.txt
writing top-level names to /private/var/folders/s_/8x1nm6wx53z2m0478zhgrc6r0000gn/T/pip-pip-egg-info-1k89xptk/faiss_cpu.egg-info/top_level.txt
writing manifest file '/private/var/folders/s_/8x1nm6wx53z2m0478zhgrc6r0000gn/T/pip-pip-egg-info-1k89xptk/faiss_cpu.egg-info/SOURCES.txt'
error: package directory '/private/var/folders/s_/8x1nm6wx53z2m0478zhgrc6r0000gn/T/pip-install-l74xplyc/faiss-gpu_cb43f56646c24c099baca5c7609e68d1/faiss/faiss/python' does not exist
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.`

KeyError: 'message'

Error still persists

#4

or is the servie down again? where can i check that the service is online?

selenium.common.exceptions.ElementClickInterceptedException

Hi,

First of all, thank you for creating this wonderful tool.

After I set up the token and ran the AUTOGPT.py. I asked it to write an article. It tried to use DuckDuckGo Search, however, it crashed due to selenium (please see the below error).

Can you help advise how to fix this?

Traceback (most recent call last):
File "/home/1/Free-AUTO-GPT-with-NO-API/AUTOGPT.py", line 219, in
agent.run([input("Enter the objective of the AI system: (Be realistic!) ")])
File "/home/1/.local/lib/python3.10/site-packages/langchain/experimental/autonomous_agents/autogpt/agent.py", line 91, in run
assistant_reply = self.chain.run(
File "/home/1/.local/lib/python3.10/site-packages/langchain/chains/base.py", line 241, in run
return self(kwargs, callbacks=callbacks)[self.output_keys[0]]
File "/home/1/.local/lib/python3.10/site-packages/langchain/chains/base.py", line 142, in call
raise e
File "/home/1/.local/lib/python3.10/site-packages/langchain/chains/base.py", line 136, in call
self._call(inputs, run_manager=run_manager)
File "/home/1/.local/lib/python3.10/site-packages/langchain/chains/llm.py", line 69, in _call
response = self.generate([inputs], run_manager=run_manager)
File "/home/1/.local/lib/python3.10/site-packages/langchain/chains/llm.py", line 79, in generate
return self.llm.generate_prompt(
File "/home/1/.local/lib/python3.10/site-packages/langchain/llms/base.py", line 127, in generate_prompt
return self.generate(prompt_strings, stop=stop, callbacks=callbacks)
File "/home/1/.local/lib/python3.10/site-packages/langchain/llms/base.py", line 176, in generate
raise e
File "/home/1/.local/lib/python3.10/site-packages/langchain/llms/base.py", line 170, in generate
self._generate(prompts, stop=stop, run_manager=run_manager)
File "/home/1/.local/lib/python3.10/site-packages/langchain/llms/base.py", line 379, in _generate
else self._call(prompt, stop=stop)
File "/home/1/Free-AUTO-GPT-with-NO-API/FreeLLM/ChatGPTAPI.py", line 50, in _call
data = self.chatbot.send_message(prompt)
File "/home/1/Free-AUTO-GPT-with-NO-API/FreeLLM/pyChatGPT.py", line 419, in send_message
textbox.click()
File "/home/1/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py", line 94, in click
self._execute(Command.CLICK_ELEMENT)
File "/home/1/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webelement.py", line 403, in _execute
return self._parent.execute(command, params)
File "/home/1/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute
self.error_handler.check_response(response)
File "/home/1/.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 <textarea tabindex="0" data-id="request-:r1l:-0" rows="1" placeholder="Send a message." class="m-0 w-full resize-none border-0 bg-transparent p-0 pr-7 focus:ring-0 focus-visible:ring-0 dark:bg-transparent pl-2 md:pl-0" style="max-height: 200px; height: 24px; overflow-y: hidden;"></textarea> is not clickable at point (1098, 931). Other element would receive the click:

...

(Session info: chrome=112.0.5615.165)
Stacktrace:
#0 0x55a520d89fe3
#1 0x55a520ac8d36
#2 0x55a520b0caef
#3 0x55a520b0aa31
#4 0x55a520b082de
#5 0x55a520b07358
#6 0x55a520afb0c5
#7 0x55a520b268c2
#8 0x55a520afa943
#9 0x55a520b26a8e
#10 0x55a520b3f232
#11 0x55a520b26693
#12 0x55a520af903a
#13 0x55a520afa17e
#14 0x55a520d4bdbd
#15 0x55a520d4fc6c
#16 0x55a520d594b0
#17 0x55a520d50d63
#18 0x55a520d23c35
#19 0x55a520d74138
#20 0x55a520d742c7
#21 0x55a520d82093
#22 0x7f499f894b43

Unable to setup Camel locally

Following the given steps in this README.md for HOW TO RUN CAMEL sub-section, error occur when following the steps given:

Error at second step aka pip3 install.

Error:

error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [7 lines of output]
running egg_info
creating C:\Users\john\AppData\Local\Temp\pip-pip-egg-info-abel36uz\faiss_cpu.egg-info
writing C:\Users\john\AppData\Local\Temp\pip-pip-egg-info-abel36uz\faiss_cpu.egg-info\PKG-INFO
writing dependency_links to C:\Users\john\AppData\Local\Temp\pip-pip-egg-info-abel36uz\faiss_cpu.egg-info\dependency_links.txt
writing top-level names to C:\Users\john\AppData\Local\Temp\pip-pip-egg-info-abel36uz\faiss_cpu.egg-info\top_level.txt
writing manifest file 'C:\Users\john\AppData\Local\Temp\pip-pip-egg-info-abel36uz\faiss_cpu.egg-info\SOURCES.txt'
error: package directory 'C:\Users\john\AppData\Local\Temp\pip-install-igo5elm1\faiss-gpu_2e32d40e0e574b238dd31fba08ce763a\faiss\faiss\python' does not exist
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

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

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'

argparse WINDOWS problem

Hi,
i've cloned your Repo and followed the instructions. I've got this error:

File ".../Free-AUTO-GPT-with-NO-API/AUTOGPT.py", line 26, in
image

Thanks for the help.

Suspicious URL found

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

KeyError: 'message'

Hey man thank you verry much for doing this project.
I did everything to set it up and installed requirements, but if i try to do teh same like you on in the sample video, i get the following error:

KeyError: 'message'
Traceback:
File "C:\Users\Christian\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\Christian\Desktop\Free-AUTOGPT-with-NO-API\Camel.py", line 112, in
specified_task_msg = task_specify_agent.step(task_specifier_msg)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Christian\Desktop\Free-AUTOGPT-with-NO-API\Camel.py", line 65, in step
output_message = self.model(str(input_message.content))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Christian\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\Christian\AppData\Local\Programs\Python\Python311\Lib\site-packages\langchain\llms\base.py", line 140, in generate
raise e
File "C:\Users\Christian\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\Christian\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\Christian\Desktop\Free-AUTOGPT-with-NO-API\writesonicAPI.py", line 23, in call
response = writesonic.Completion.create(api_key= self.token.key,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\Christian\Desktop\Free-AUTOGPT-with-NO-API\writesonic_init
.py", line 147, in create
'text' : response['message'],
~~~~~~~~^^^^^^^^^^^

NEW UPDATE with free official CHATGPT API

I have fixed the repository, please try now to redownload

Open an issue if you have any problems. Please don't be aggressive, I'm working hard to allow you to develop or use AI AGENTS without paying for OPENAI, PINECONE or other APIs. THANK YOU.

Doesn't work

I downloaded it and installed, but when I start the agent it response with this:

`AI Assistant (Python Programmer):

{
"error": {
"message": "You exceeded your current quota, please check your plan and billing details.",
"type": "insufficient_quota",
"param": null,
"code": null
}
}`

Run with Local LLM Models

We tried many local models like LLAMA, VICUNA, OPENASSIST, GPT4ALL in their 7b versions. None seem to give results like the CHATGPT API.

we would like to try to test new models, which can be loaded in a maximum of 16gm of RAM, to allow accessibility to anyone without discrimination.

Any advice for LLM models with fine tuning for high performance instructions?

SSL: CERTIFICATE_VERIFY_FAILED

Getting below error URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)>

It returns nothing

I run this code and get nothing :)

from ChatGPTAPI import ChatGPT

# Instantiate a ChatGPT object with your token
llm = ChatGPT(token="YOURTOKEN")

# Generate a response based on the given prompt
response = llm("Hello, how are you?")

# Print the response
print(response)

[AUTOGPT.py] Issues with Jax and transformers.

Hello,
thanks for making this but I've confronted some issues when I'm trying to give AUTOGPT an objective. Since I'm not well instructed in coding, I barely figured out that it's to do with my installation problem with Jax and transformers. But stuck at the moment. I double-checked that I installed transformers but still get the message and I'm not sure which version of Jax and Jaxlib should I go with and how should I install them.

I'm using Winx64 and Anaconda Prompt as a tool. and the messages after setting an objective follows:

Traceback (most recent call last):
File "C:\Users\Christopher\anaconda3\envs\Christopher\lib\site-packages\jax_src\lib_init_.py", line 24, in
import jaxlib as jaxlib
ModuleNotFoundError: No module named 'jaxlib'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Users\Christopher\anaconda3\envs\Christopher\lib\site-packages\langchain\base_language.py", line 18, in get_num_tokens_default_method
from transformers import GPT2TokenizerFast
File "C:\Users\Christopher\anaconda3\envs\Christopher\lib\site-packages\transformers_init
.py", line 26, in
from . import dependency_versions_check
File "C:\Users\Christopher\anaconda3\envs\Christopher\lib\site-packages\transformers\dependency_versions_check.py", line 17, in
from .utils.versions import require_version, require_version_core
File "C:\Users\Christopher\anaconda3\envs\Christopher\lib\site-packages\transformers\utils_init_.py", line 30, in
from .generic import (
File "C:\Users\Christopher\anaconda3\envs\Christopher\lib\site-packages\transformers\utils\generic.py", line 33, in
import jax.numpy as jnp
File "C:\Users\Christopher\anaconda3\envs\Christopher\lib\site-packages\jax_init_.py", line 35, in
from jax import config as _config_module
File "C:\Users\Christopher\anaconda3\envs\Christopher\lib\site-packages\jax\config.py", line 17, in
from jax._src.config import config # noqa: F401
File "C:\Users\Christopher\anaconda3\envs\Christopher\lib\site-packages\jax_src\config.py", line 24, in
from jax.src import lib
File "C:\Users\Christopher\anaconda3\envs\Christopher\lib\site-packages\jax_src\lib_init
.py", line 26, in
raise ModuleNotFoundError(
ModuleNotFoundError: jax requires jaxlib to be installed. See https://github.com/google/jax#installation for installation instructions.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "AUTOGPT.py", line 219, in
agent.run([input("Enter the objective of the AI system: (Be realistic!) ")])
File "C:\Users\Christopher\anaconda3\envs\Christopher\lib\site-packages\langchain\experimental\autonomous_agents\autogpt\agent.py", line 91, in run
assistant_reply = self.chain.run(
File "C:\Users\Christopher\anaconda3\envs\Christopher\lib\site-packages\langchain\chains\base.py", line 241, in run
return self(kwargs, callbacks=callbacks)[self.output_keys[0]]
File "C:\Users\Christopher\anaconda3\envs\Christopher\lib\site-packages\langchain\chains\base.py", line 142, in call
raise e
File "C:\Users\Christopher\anaconda3\envs\Christopher\lib\site-packages\langchain\chains\base.py", line 136, in call
self._call(inputs, run_manager=run_manager)
File "C:\Users\Christopher\anaconda3\envs\Christopher\lib\site-packages\langchain\chains\llm.py", line 69, in _call
response = self.generate([inputs], run_manager=run_manager)
File "C:\Users\Christopher\anaconda3\envs\Christopher\lib\site-packages\langchain\chains\llm.py", line 78, in generate prompts, stop = self.prep_prompts(input_list, run_manager=run_manager)
File "C:\Users\Christopher\anaconda3\envs\Christopher\lib\site-packages\langchain\chains\llm.py", line 106, in prep_prompts
prompt = self.prompt.format_prompt(**selected_inputs)
File "C:\Users\Christopher\anaconda3\envs\Christopher\lib\site-packages\langchain\prompts\chat.py", line 127, in format_prompt
messages = self.format_messages(**kwargs)
File "C:\Users\Christopher\anaconda3\envs\Christopher\lib\site-packages\langchain\experimental\autonomous_agents\autogpt\prompt.py", line 46, in format_messages
used_tokens = self.token_counter(base_prompt.content) + self.token_counter(
File "C:\Users\Christopher\anaconda3\envs\Christopher\lib\site-packages\langchain\base_language.py", line 56, in get_num_tokens
return _get_num_tokens_default_method(text)
File "C:\Users\Christopher\anaconda3\envs\Christopher\lib\site-packages\langchain\base_language.py", line 20, in _get_num_tokens_default_method
raise ValueError(
ValueError: Could not import transformers python package. This is needed in order to calculate get_num_tokens. Please install it with pip install transformers.

We need help to run on Colab

We have a problem when try to run new solution on colab .

Open the colab and try to resolve error Open in Colab

image

It seems that openAI doesn't like requests from colab servers :(

Does anyone know how to bypass the problem?

Please help us to democratize AI

runtime error on colab

File "/content/Free-AUTO-GPT-with-NO-API/Embedding/HuggingFaceEmbedding.py", line 33, in newEmbeddings
raise RuntimeError(
RuntimeError: The model is currently loading, please re-run the query

Error AutoGPT

BabyAGI works but AutoGPT doesn't:

C:\Users\ASUS\Desktop\MENA\AutoGPT\Free Auto GPT\Free-AUTO-GPT-with-NO-API>python AutoGPT.py --hf_token *********************************** --chatgpt_token **************************************************************************************************************************************************************************************************************************************************************************************
Traceback (most recent call last):
File "C:\Users\ASUS\Desktop\MENA\AutoGPT\Free Auto GPT\Free-AUTO-GPT-with-NO-API\AutoGPT.py", line 116, in
from langchain.tools import BaseTool, DuckDuckGoSearchRun
ImportError: cannot import name 'DuckDuckGoSearchRun' from 'langchain.tools' (C:\Users\ASUS\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\langchain\tools_init_.py)

getting error code 401

Hi good day

getting this issue when trying to run Autogpt.py

kindly assist

None of PyTorch, TensorFlow >= 2.0, or Flax have been found. Models won't be available and only tokenizers, configuration and file/data utilities can be used.
Traceback (most recent call last):
File "C:\Users\Noel\AppData\Local\Programs\Python\Python310\lib\site-packages\revChatGPT\V1.py", line 668, in __check_response
response.raise_for_status()
File "C:\Users\Noel\AppData\Local\Programs\Python\Python310\lib\site-packages\requests\models.py", line 1021, in raise_for_status
raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 401 Client Error: Unauthorized for url: https://ai.fakeopen.com/api/conversation

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "D:\Ai\Autogpt\Free-AUTO-GPT-with-NO-API\AUTOGPT.py", line 197, in
agent.run([input("Enter the objective of the AI system: (Be realistic!) ")])
File "C:\Users\Noel\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain\experimental\autonomous_agents\autogpt\agent.py", line 91, in run
assistant_reply = self.chain.run(
File "C:\Users\Noel\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain\chains\base.py", line 216, in run
return self(kwargs)[self.output_keys[0]]
File "C:\Users\Noel\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain\chains\base.py", line 116, in call
raise e
File "C:\Users\Noel\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain\chains\base.py", line 113, in call
outputs = self._call(inputs)
File "C:\Users\Noel\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain\chains\llm.py", line 57, in _call
return self.apply([inputs])[0]
File "C:\Users\Noel\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain\chains\llm.py", line 118, in apply
response = self.generate(input_list)
File "C:\Users\Noel\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain\chains\llm.py", line 62, in generate
return self.llm.generate_prompt(prompts, stop)
File "C:\Users\Noel\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain\llms\base.py", line 107, in generate_prompt
return self.generate(prompt_strings, stop=stop)
File "C:\Users\Noel\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain\llms\base.py", line 140, in generate
raise e
File "C:\Users\Noel\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain\llms\base.py", line 137, in generate
output = self._generate(prompts, stop=stop)
File "C:\Users\Noel\AppData\Local\Programs\Python\Python310\lib\site-packages\langchain\llms\base.py", line 324, in _generate
text = self._call(prompt, stop=stop)
File "D:\Ai\Autogpt\Free-AUTO-GPT-with-NO-API\FreeLLM\ChatGPTAPI.py", line 50, in _call
for data in self.chatbot.ask( prompt , conversation_id=self.conversation, parent_id=self.prev_message):
File "C:\Users\Noel\AppData\Local\Programs\Python\Python310\lib\site-packages\revChatGPT\V1.py", line 556, in ask
yield from self.post_messages(
File "C:\Users\Noel\AppData\Local\Programs\Python\Python310\lib\site-packages\revChatGPT\V1.py", line 510, in post_messages
yield from self.__send_request(
File "C:\Users\Noel\AppData\Local\Programs\Python\Python310\lib\site-packages\revChatGPT\V1.py", line 365, in __send_request
self.__check_response(response)
File "C:\Users\Noel\AppData\Local\Programs\Python\Python310\lib\site-packages\revChatGPT\V1.py", line 66, in wrapper
out = func(args, **kwargs)
File "C:\Users\Noel\AppData\Local\Programs\Python\Python310\lib\site-packages\revChatGPT\V1.py", line 675, in __check_response
raise error from ex
revChatGPT.typings.Error: OpenAI: {"detail":{"message":"Incorrect API key provided: accessTo
******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************DrBw. You can find your API key at https://platform.openai.com/account/api-keys.","type":"invalid_request_error","param":null,"code":"invalid_api_key"}} (code: 401)

Error - Google Colab

Hello! How are you?
I'm using google colab, and this error is appearing when I try to run BabyAgi. I already replaced the tokens correctly in the BABYAGI.py file, but it keeps showing up.

I'm not a programmer, so forgive me for my idiocy.

image
image

[bug] Whether I select Phind or other model, it automatically jumps out the restriction of Phind.

I run on Linux server successfully, but whether I select Phind or other model, it automatically jumps out the restriction of Phind. Here are the response.

AI Assistant:

Thank you for using Phind. Our priority is to provide the best possible experience for all our users.

At the moment, we feel that we aren't fully equipped to support Chinese users in the way they deserve. We face challenges in understanding specific use-cases and comprehending feedback due to the language barrier and the unique context of software engineering in China.

We're committed to offering a great experience for everyone, so for now, we're focusing on the users we understand best while working on improvements.

We apologize for any inconvenience this might cause and appreciate your understanding. Rest assured, we're striving to grow and evolve so we can offer an even better product for you and our users in China in the future.

Reached max number of request per hour

Hey!! getting this Error while running your tool. can you please help.

File "/content/Free-AUTO-GPT-with-NO-API/FreeLLM/ChatGPTAPI.py", line 47, in _call
raise ValueError("You have reached the maximum number of requests per hour ! Help me to Improve. Abusing this tool is at your own risk")
ValueError: You have reached the maximum number of requests per hour ! Help me to Improve. Abusing this tool is at your own risk

faiss-gpu Wont install requirements

WARNING: Generating metadata for package faiss-gpu produced metadata for project name faiss-cpu. Fix your #egg=faiss-gpu fragments.
Discarding https://files.pythonhosted.org/packages/17/76/47d0cc8161f4bf988583a2839bb1e56baf09d6b80cfa472b9eba4d5f543b/faiss-gpu-1.7.1.post2.tar.gz (from https://pypi.org/simple/faiss-gpu/): Requested faiss-cpu from https://files.pythonhosted.org/packages/17/76/47d0cc8161f4bf988583a2839bb1e56baf09d6b80cfa472b9eba4d5f543b/faiss-gpu-1.7.1.post2.tar.gz (from -r requirements.txt (line 11)) has inconsistent name: expected 'faiss-gpu', but metadata has 'faiss-cpu'

Loop issue with AutoGPT

Hello.
The loop issue continues even after the updates. The model creates every single time another chat now. I will search for a solution myself, but in the meantime i will leave this issue open if someone knows how to solve this.

Screenshot 2023-04-30 192030


Ciao.
Il problema del loop continua anche dopo gli aggiornamenti. Il modello crea ogni volta un'altra chat ora. Cercherò io stesso una soluzione, ma nel frattempo lascerò aperto questo issue se qualcuno sa come risolverlo.

Not connected to the internet

Ran the customAgent.py with ChatGPT, I dont think its searching the internet.

(Enter your task or question) >> Apple stock price May 2nd 2023

Entering new AgentExecutor chain...
I need to find the current stock price of Apple Inc. as of May 2nd, 2023.
Action: DuckDuckGo Search
Action Input: "Apple Inc. stock price May 2nd 2023"
Observation: There are no search results since the date is in the future.
Thought: I will have to wait until May 2nd, 2023 to get the stock price information.
Final Answer: N/A (as it is in the future)

Import error

from langchain.prompts.chat import (
ModuleNotFoundError: No module named 'langchain.prompts.chat'

or

from streamlit_chat_media import message
ModuleNotFoundError: No module named 'streamlit_chat_media'

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

Can anyone help ? Having the following issue.

Traceback:
File "E:\Users\ethan\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 565, in _run_script
exec(code, module.dict)
File "E:\Users\ethan\Documents\AI\AutoGPT\Free-AUTO-GPT-with-NO-API\Camel.py", line 190, in
user_msg = assistant_agent.step(user_msg)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Users\ethan\Documents\AI\AutoGPT\Free-AUTO-GPT-with-NO-API\Camel.py", line 62, in step
output_message = self.model(str(input_message.content))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Users\ethan\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\langchain\llms\base.py", line 281, in call
self.generate([prompt], stop=stop, callbacks=callbacks)
File "E:\Users\ethan\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\langchain\llms\base.py", line 176, in generate
raise e
File "E:\Users\ethan\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\langchain\llms\base.py", line 170, in generate
self._generate(prompts, stop=stop, run_manager=run_manager)
File "E:\Users\ethan\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\langchain\llms\base.py", line 379, in _generate
else self._call(prompt, stop=stop)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Users\ethan\Documents\AI\AutoGPT\Free-AUTO-GPT-with-NO-API\FreeLLM\ChatGPTAPI.py", line 38, in _call
self.chatbot = Chatbot(self.token)
^^^^^^^^^^^^^^^^^^^
File "E:\Users\ethan\Documents\AI\AutoGPT\Free-AUTO-GPT-with-NO-API\FreeLLM\pyChatGPT.py", line 126, in init
self.__init_browser()
File "E:\Users\ethan\Documents\AI\AutoGPT\Free-AUTO-GPT-with-NO-API\FreeLLM\pyChatGPT.py", line 193, in __init_browser
raise e
File "E:\Users\ethan\Documents\AI\AutoGPT\Free-AUTO-GPT-with-NO-API\FreeLLM\pyChatGPT.py", line 189, in _init_browser
self.driver = uc.Chrome(options=options)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "E:\Users\ethan\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\undetected_chromedriver_init
.py", line 374, in init
if self.patcher.version_main < 108:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

Camel error

Hello, this is the error that occurs after the first reply from chatgpt arrives:

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.49) Stacktrace: #0 0x55946b611fe3 #1 0x55946b350d36 #2 0x55946b394aef #3 0x55946b392a31 #4 0x55946b3902de #5 0x55946b38f358 #6 0x55946b3830c5 #7 0x55946b3ae8c2 #8 0x55946b382943 #9 0x55946b3aea8e #10 0x55946b3c7232 #11 0x55946b3ae693 #12 0x55946b38103a #13 0x55946b38217e #14 0x55946b5d3dbd #15 0x55946b5d7c6c #16 0x55946b5e14b0 #17 0x55946b5d8d63 #18 0x55946b5abc35 #19 0x55946b5fc138 #20 0x55946b5fc2c7 #21 0x55946b60a093 #22 0x7fa319a90402
Traceback:

File "/home/snowpy/.local/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script
exec(code, module.dict)
File "/home/snowpy/Scrivania/Free-AUTO-GPT-with-NO-API-main/Camel.py", line 190, in
user_msg = assistant_agent.step(user_msg)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/snowpy/Scrivania/Free-AUTO-GPT-with-NO-API-main/Camel.py", line 62, in step
output_message = self.model(str(input_message.content))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/snowpy/.local/lib/python3.11/site-packages/langchain/llms/base.py", line 281, in call
self.generate([prompt], stop=stop, callbacks=callbacks)
File "/home/snowpy/.local/lib/python3.11/site-packages/langchain/llms/base.py", line 176, in generate
raise e
File "/home/snowpy/.local/lib/python3.11/site-packages/langchain/llms/base.py", line 170, in generate
self._generate(prompts, stop=stop, run_manager=run_manager)
File "/home/snowpy/.local/lib/python3.11/site-packages/langchain/llms/base.py", line 379, in _generate
else self._call(prompt, stop=stop)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/snowpy/Scrivania/Free-AUTO-GPT-with-NO-API-main/FreeLLM/ChatGPTAPI.py", line 50, in _call
data = self.chatbot.send_message(prompt)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/snowpy/Scrivania/Free-AUTO-GPT-with-NO-API-main/FreeLLM/pyChatGPT.py", line 465, in send_message
).click()
^^^^^^^
File "/home/snowpy/.local/lib/python3.11/site-packages/selenium/webdriver/remote/webelement.py", line 94, in click
self._execute(Command.CLICK_ELEMENT)
File "/home/snowpy/.local/lib/python3.11/site-packages/selenium/webdriver/remote/webelement.py", line 403, in _execute
return self._parent.execute(command, params)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/home/snowpy/.local/lib/python3.11/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute
self.error_handler.check_response(response)
File "/home/snowpy/.local/lib/python3.11/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response
raise exception_class(message, screen, stacktrace)

Cannot start the application

Hi,

Nothing displayed in the Web browser and there is an endless loop.

2023-04-21 10:39:40 INFO main -> error : 'unsupported operand type(s) for |: 'dict' and 'dict''
2023-04-21 10:39:40 INFO main -> error : 'unsupported operand type(s) for |: 'dict' and 'dict''
2023-04-21 10:39:40 INFO main -> error : 'unsupported operand type(s) for |: 'dict' and 'dict''
2023-04-21 10:39:40 INFO main -> error : 'unsupported operand type(s) for |: 'dict' and 'dict''
2023-04-21 10:39:40 INFO main -> error : 'unsupported operand type(s) for |: 'dict' and 'dict''
2023-04-21 10:39:40 INFO main -> error : 'unsupported operand type(s) for |: 'dict' and 'dict''
2023-04-21 10:39:40 INFO main -> error : 'unsupported operand type(s) for |: 'dict' and 'dict''
2023-04-21 10:39:40 INFO main -> error : 'unsupported operand type(s) for |: 'dict' and 'dict''
2023-04-21 10:39:40 INFO main -> error : 'unsupported operand type(s) for |: 'dict' and 'dict''
2023-04-21 10:39:40 INFO main -> error : 'unsupported operand type(s) for |: 'dict' and 'dict''
2023-04-21 10:39:40 INFO main -> error : 'unsupported operand type(s) for |: 'dict' and 'dict''
^C Stopping...
Exception ignored in: <module 'threading' from '/usr/lib/python3.8/threading.py'>
Traceback (most recent call last):
File "/usr/lib/python3.8/threading.py", line 1388, in _shutdown
lock.acquire()
File "/home/stephane/.local/lib/python3.8/site-packages/streamlit/web/bootstrap.py", line 69, in signal_handler
server.stop()
File "/home/stephane/.local/lib/python3.8/site-packages/streamlit/web/server/server.py", line 401, in stop
self._runtime.stop()
File "/home/stephane/.local/lib/python3.8/site-packages/streamlit/runtime/runtime.py", line 322, in stop
2023-04-21 10:39:40 INFO main -> error : 'unsupported operand type(s) for |: 'dict' and 'dict''
async_objs.eventloop.call_soon_threadsafe(stop_on_eventloop)
File "/usr/lib/python3.8/asyncio/base_events.py", line 764, in call_soon_threadsafe
self._check_closed()
File "/usr/lib/python3.8/asyncio/base_events.py", line 508, in _check_closed
raise RuntimeError('Event loop is closed')
RuntimeError: Event loop is closed

Best regards,
Stéphane

Loop e non salvataggio di file in AutoGPT

Ciao.
Come vedi dal titolo ci sono due problemi che sto riscontrando:
1- A volte quando deve cercare delle cose utilizzando Duck Search, va in loop cercando sempre le stesse cose. Probabilmente è dovuto al modello o all'implementazione di OpenAI.
2- Quando deve scrivere dei file, non riesce. Prima mi ha anche detto che non ha i permessi necessari per farlo. Questo probabilmente è dovuto all'integrazione in Windows (non sono sicuro).

Ho cercato di provare in vari modi, creando anche un'immagine Docker e mettendo il tutto lì dentro ma niente. Se avete dei suggerimenti, lo apprezzerei davvero.

Limited

there is a problem since today I can no longer use it here is the error message :

{ "error": { "message": "You exceeded your current quota, please check your plan and billing details.", "type": "insufficient_quota", "param": null, "code": null } }

Getting Unauthorized

Hi guys, tried to use it but getting unauthorized camel and babyAGI as well

kindly assist

Chromedriver issue on Windows

Unfortunately there is an error with chromedriver on Windows, specifically with undetected-chromedriver package.

This is the error that occurs:
'''
Traceback (most recent call last):
File "/mnt/c/Users/manue/Downloads/Free-AUTO-GPT-with-NO-API-main/AUTOGPT.py", line 219, in
agent.run([input("Enter the objective of the AI system: (Be realistic!) ")])
File "/home/manuel/.local/lib/python3.10/site-packages/langchain/experimental/autonomous_agents/autogpt/agent.py", line 91, in run
assistant_reply = self.chain.run(
File "/home/manuel/.local/lib/python3.10/site-packages/langchain/chains/base.py", line 241, in run
return self(kwargs, callbacks=callbacks)[self.output_keys[0]]
File "/home/manuel/.local/lib/python3.10/site-packages/langchain/chains/base.py", line 142, in call
raise e
File "/home/manuel/.local/lib/python3.10/site-packages/langchain/chains/base.py", line 136, in call
self._call(inputs, run_manager=run_manager)
File "/home/manuel/.local/lib/python3.10/site-packages/langchain/chains/llm.py", line 69, in _call
response = self.generate([inputs], run_manager=run_manager)
File "/home/manuel/.local/lib/python3.10/site-packages/langchain/chains/llm.py", line 79, in generate
return self.llm.generate_prompt(
File "/home/manuel/.local/lib/python3.10/site-packages/langchain/llms/base.py", line 127, in generate_prompt
return self.generate(prompt_strings, stop=stop, callbacks=callbacks)
File "/home/manuel/.local/lib/python3.10/site-packages/langchain/llms/base.py", line 176, in generate
raise e
File "/home/manuel/.local/lib/python3.10/site-packages/langchain/llms/base.py", line 170, in generate
self._generate(prompts, stop=stop, run_manager=run_manager)
File "/home/manuel/.local/lib/python3.10/site-packages/langchain/llms/base.py", line 379, in _generate
else self._call(prompt, stop=stop)
File "/mnt/c/Users/manue/Downloads/Free-AUTO-GPT-with-NO-API-main/FreeLLM/ChatGPTAPI.py", line 38, in _call
self.chatbot = Chatbot(self.token)
File "/mnt/c/Users/manue/Downloads/Free-AUTO-GPT-with-NO-API-main/FreeLLM/pyChatGPT.py", line 126, in init
self.__init_browser()
File "/mnt/c/Users/manue/Downloads/Free-AUTO-GPT-with-NO-API-main/FreeLLM/pyChatGPT.py", line 189, in __init_browser
self.driver = uc.Chrome(options=options)
File "/home/manuel/.local/lib/python3.10/site-packages/undetected_chromedriver/init.py", line 441, in init
super(Chrome, self).init(
File "/home/manuel/.local/lib/python3.10/site-packages/selenium/webdriver/chrome/webdriver.py", line 70, in init
super(WebDriver, self).init(DesiredCapabilities.CHROME['browserName'], "goog",
File "/home/manuel/.local/lib/python3.10/site-packages/selenium/webdriver/chromium/webdriver.py", line 92, in init
RemoteWebDriver.init(
File "/home/manuel/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 275, in init
self.start_session(capabilities, browser_profile)
File "/home/manuel/.local/lib/python3.10/site-packages/undetected_chromedriver/init.py", line 704, in start_session
super(selenium.webdriver.chrome.webdriver.WebDriver, self).start_session(
File "/home/manuel/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 365, in start_session
response = self.execute(Command.NEW_SESSION, parameters)
File "/home/manuel/.local/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 430, in execute
self.error_handler.check_response(response)
File "/home/manuel/.local/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 247, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: cannot connect to chrome at 127.0.0.1:54435
from chrome not reachable
Stacktrace:
#0 0x55cb75adffe3
#1 0x55cb7581ebc1
#2 0x55cb7580cff6
#3 0x55cb7584be00
#4 0x55cb75843352
#5 0x55cb75885af7
#6 0x55cb7588511f
#7 0x55cb7587c693
#8 0x55cb7584f03a
#9 0x55cb7585017e
#10 0x55cb75aa1dbd
#11 0x55cb75aa5c6c
#12 0x55cb75aaf4b0
#13 0x55cb75aa6d63
#14 0x55cb75a79c35
#15 0x55cb75aca138
#16 0x55cb75aca2c7
#17 0x55cb75ad8093
#18 0x7f4719fe8b43
'''

I'm searching for an alternative solution at the moment, but if you can help me, it would be great.
Ciao :)

Undetected chromedriver

2023-05-02 15:41:36.691 Uncaught app exception
Traceback (most recent call last):
File "/Users/josephti/Documents/Free-AUTO-GPT-with-NO-API/venv/lib/python3.10/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 565, in _run_script
exec(code, module.dict)
File "/Users/josephti/Documents/Free-AUTO-GPT-with-NO-API/Camel.py", line 203, in
assistant_ai_msg = assistant_agent.step(user_msg)
File "/Users/josephti/Documents/Free-AUTO-GPT-with-NO-API/Camel.py", line 62, in step
output_message = self.model(str(input_message.content))
File "/Users/josephti/Documents/Free-AUTO-GPT-with-NO-API/venv/lib/python3.10/site-packages/langchain/llms/base.py", line 281, in call
self.generate([prompt], stop=stop, callbacks=callbacks)
File "/Users/josephti/Documents/Free-AUTO-GPT-with-NO-API/venv/lib/python3.10/site-packages/langchain/llms/base.py", line 176, in generate
raise e
File "/Users/josephti/Documents/Free-AUTO-GPT-with-NO-API/venv/lib/python3.10/site-packages/langchain/llms/base.py", line 170, in generate
self._generate(prompts, stop=stop, run_manager=run_manager)
File "/Users/josephti/Documents/Free-AUTO-GPT-with-NO-API/venv/lib/python3.10/site-packages/langchain/llms/base.py", line 379, in _generate
else self._call(prompt, stop=stop)
File "/Users/josephti/Documents/Free-AUTO-GPT-with-NO-API/FreeLLM/ChatGPTAPI.py", line 50, in _call
data = self.chatbot.send_message(prompt)
File "/Users/josephti/Documents/Free-AUTO-GPT-with-NO-API/FreeLLM/pyChatGPT.py", line 438, in send_message
WebDriverWait(self.driver, 120).until_not(
File "/Users/josephti/Documents/Free-AUTO-GPT-with-NO-API/venv/lib/python3.10/site-packages/selenium/webdriver/support/wait.py", line 110, in until_not
value = method(self._driver)
File "/Users/josephti/Documents/Free-AUTO-GPT-with-NO-API/venv/lib/python3.10/site-packages/selenium/webdriver/support/expected_conditions.py", line 69, in _predicate
return driver.find_element(*locator)
File "/Users/josephti/Documents/Free-AUTO-GPT-with-NO-API/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 831, in find_element
return self.execute(Command.FIND_ELEMENT, {"using": by, "value": value})["value"]
File "/Users/josephti/Documents/Free-AUTO-GPT-with-NO-API/venv/lib/python3.10/site-packages/selenium/webdriver/remote/webdriver.py", line 440, in execute
self.error_handler.check_response(response)
File "/Users/josephti/Documents/Free-AUTO-GPT-with-NO-API/venv/lib/python3.10/site-packages/selenium/webdriver/remote/errorhandler.py", line 245, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: disconnected: not connected to DevTools
(failed to check if window was closed: disconnected: not connected to DevTools)
(Session info: chrome=112.0.5615.137)
Stacktrace:
0 undetected_chromedriver 0x000000010507dae8 undetected_chromedriver + 4958952
1 undetected_chromedriver 0x00000001050757b3 undetected_chromedriver + 4925363
2 undetected_chromedriver 0x0000000104c371d6 undetected_chromedriver + 475606
3 undetected_chromedriver 0x0000000104c1e324 undetected_chromedriver + 373540
4 undetected_chromedriver 0x0000000104c1e093 undetected_chromedriver + 372883
5 undetected_chromedriver 0x0000000104c38d62 undetected_chromedriver + 482658
6 undetected_chromedriver 0x0000000104cbb97e undetected_chromedriver + 1018238
7 undetected_chromedriver 0x0000000104ca09e3 undetected_chromedriver + 907747
8 undetected_chromedriver 0x0000000104c6aaef undetected_chromedriver + 686831
9 undetected_chromedriver 0x0000000104c6c00e undetected_chromedriver + 692238
10 undetected_chromedriver 0x00000001050399ad undetected_chromedriver + 4680109
11 undetected_chromedriver 0x000000010503ec12 undetected_chromedriver + 4701202
12 undetected_chromedriver 0x000000010504579f undetected_chromedriver + 4728735
13 undetected_chromedriver 0x000000010503fb7a undetected_chromedriver + 4705146
14 undetected_chromedriver 0x000000010501227e undetected_chromedriver + 4518526
15 undetected_chromedriver 0x000000010505f908 undetected_chromedriver + 4835592
16 undetected_chromedriver 0x000000010505fa87 undetected_chromedriver + 4835975
17 undetected_chromedriver 0x000000010506f00f undetected_chromedriver + 4898831
18 libsystem_pthread.dylib 0x00007ff80327f1d3 _pthread_start + 125
19 libsystem_pthread.dylib 0x00007ff80327abd3 thread_start + 15

Chrome Installation Not Found

Got the update today and was working before but now I'm getting this error. I'm guessing it wants us to have chrome installed on the machine now? This is when running Autogpt
image

Question about Creating and Managing Conversations

Hello,

I have a few questions about how to properly use the chat functionality in the revChatGPT package.

  1. Creating a New Chat: I am looking to create a new chat and ensure that the conversation stays within this specific chat session. I noticed that there's a conversation_id argument when initializing the Chatbot class, but I'm not entirely clear on how to use it. Could you provide an example or further explanation on how to create a new chat and keep the conversation within that particular chat session?

  2. Managing Existing Chats: Additionally, I would like to know how to retrieve a list of existing conversations and how to join an existing conversation. Is there a method to fetch all active conversation_ids? And once I have a conversation_id, how can I join that conversation and continue the chat?

Any help would be greatly appreciated. Thank you in advance!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.