Skip to content

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.

Fixes "unknown command: browse webiste"

Torantulinoaa6cb4cf81cb
diff --git a/AutonomousAI/commands.py b/AutonomousAI/commands.py
index dabdd992cd..5bde01adf9 100644
--- a/AutonomousAI/commands.py
+++ b/AutonomousAI/commands.py
@@ -53,8 +53,8 @@ def execute_command(command_name, arguments):
elif command_name == "get_hyperlinks":
return get_hyperlinks(arguments["url"])
elif command_name == "write_to_file":
- return write_to_file(arguments["file"], arguments["content"])
- elif browse_website == "browse_website":
+ return write_to_file(arguments["file"], arguments["text"])
+ elif command_name == "browse_website":
return browse_website(arguments["url"])
elif command_name == "task_complete":
shutdown()