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

Chrome problems and request for option browser=firefox #89

Closed sfassotte closed 1 year ago

sfassotte commented 1 year ago

Thanks for all your hard work! Sadly i get stuck with this error message: File "Free-Auto-GPT/FreeLLM/ChatGPTAPI.py", line 39, in _call self.chatbot = Chatbot(self.token) File "Free-Auto-GPT/FreeLLM/pyChatGPT.py", line 126, in init self.__init_browser() File "Free-Auto-GPT/FreeLLM/pyChatGPT.py", line 192, in __init_browser raise ValueError('Chrome installation not found') ValueError: Chrome installation not found

It needs probably something like this: from selenium.webdriver.firefox.service import Service as FirefoxService from webdriver_manager.firefox import GeckoDriverManager driver = webdriver.Firefox(service=FirefoxService(GeckoDriverManager().install()))

But i am not a coder so i dont know how to fix this.

it probably has to do with me having firefox instead of chrome installed.

The "original" Auto-GPT has an option Browser=firefox It would be nice if you could implement something similar.

IntelligenzaArtificiale commented 1 year ago

At the moment we don't see a reason or an advantage to use firfox instead of Chrome.