AutoGPT icon indicating copy to clipboard operation
AutoGPT copied to clipboard

using chrome fails due to invalid url

Open villesau opened this issue 2 years ago • 1 comments

Duplicates

  • [X] I have searched the existing issues

Steps to reproduce 🕹

  1. write a goal that requires browsing internet
  2. AI tries to spawn chrome like this: NEXT ACTION: COMMAND = browse_website ARGUMENTS = {'url': '<company_website>', 'question': 'What is the selling point of the company?'} where <company_website> is literal copy paste from the command, not a placeholder that I replace
  3. getting error like: Command browse_website returned: Error: Message: invalid argument (Session info: chrome=112.0.5615.49) Stacktrace: 0 chromedriver

Current behavior 😯

Error is thrown and Ai cannot gather information from the site since the url does not exist.

Expected behavior 🤔

There should be a way to validate that the URL is valid. I don't exactly know where the 'url': '<company_website>' originates from. If the AI decides that it's not a valid url, it should likely recheck the previous step or where ever it gets the malformed url.

Your prompt 📝

# Paste your prompt here

villesau avatar Apr 16 '23 13:04 villesau

I am experiencing the same problem, can anybody do a favor?

LeviHan999 avatar Apr 16 '23 16:04 LeviHan999

i have pr #2616

edcohen08 avatar Apr 23 '23 04:04 edcohen08