AutoGPT icon indicating copy to clipboard operation
AutoGPT copied to clipboard

wrong webserver start command

Open louria opened this issue 1 year ago • 2 comments

Duplicates

  • [X] I have searched the existing issues

Steps to reproduce 🕹

NEXT ACTION: COMMAND = evaluate_code ARGUMENTS = {'code': 'python -m http.server'} Enter 'y' to authorise command, 'y -N' to run N continuous commands, 'n' to exit program, or enter feedback for ... Input:y -=-=-=-=-=-=-= COMMAND AUTHORISED BY USER -=-=-=-=-=-=-= SYSTEM: Command evaluate_code returned: Error: The model: gpt-4 does not exist

Current behavior 😯

No response

Expected behavior 🤔

No response

Your prompt 📝

# Paste your prompt here

louria avatar Apr 16 '23 10:04 louria

Here is the prompt

SYSTEM: Command evaluate_code returned: Error: The model: gpt-4 does not exist THOUGHTS: Let's now start a Python HTTP server to deploy the website on a local server. We can use the command 'python -m http.server' in the same directory where the 'index.html' file is located. Once the server is running, we can open a web browser and go to 'http://localhost:8000' to see the website. REASONING: Deploying the website on a local server allows us to see how it looks and test its functionality. PLAN:

  • Start a Python HTTP server using the command 'python -m http.server'
  • Open a web browser and go to 'http://localhost:8000' to see the website CRITICISM: None

louria avatar Apr 16 '23 11:04 louria

Which webserver start command is right?

Qoyyuum avatar Apr 16 '23 16:04 Qoyyuum

Sometimes it executes something unexpected or doesn’t do what you want. Check out the #prompt-engineering channel in discord to get a better fit prompt

ntindle avatar Apr 23 '23 05:04 ntindle