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.
removes unused commands.
Toran Bruce Richardsb1cc474b9210
diff --git a/scripts/commands.py b/scripts/commands.pyindex f8290471b7..65b273f5b2 100644--- a/scripts/commands.py+++ b/scripts/commands.py@@ -44,8 +44,6 @@ def execute_command(command_name, arguments):try:if command_name == "google":return google_search(arguments["input"])- elif command_name == "check_notifications":- return check_notifications(arguments["website"])elif command_name == "memory_add":return commit_memory(arguments["string"])elif command_name == "memory_del":@@ -63,12 +61,6 @@ def execute_command(command_name, arguments):return list_agents()elif command_name == "delete_agent":return delete_agent(arguments["key"])- elif command_name == "navigate_website":- return navigate_website(arguments["action"], arguments["username"])- elif command_name == "register_account":- return register_account(- arguments["username"],- arguments["website"])elif command_name == "get_text_summary":return get_text_summary(arguments["url"])elif command_name == "get_hyperlinks":@@ -216,23 +208,4 @@ def delete_agent(key):result = agents.delete_agent(key)if not result:return f"Agent {key} does not exist."- return f"Agent {key} deleted."---def navigate_website(action, username):- _text = "Navigating website with action " + action + " and username " + username- print(_text)- return "Command not implemented yet."---def register_account(username, website):- _text = "Registering account with username " + \- username + " and website " + website- print(_text)- return "Command not implemented yet."---def check_notifications(website):- _text = "Checking notifications from " + website- print(_text)- return "Command not implemented yet."+ return f"Agent {key} deleted."\ No newline at end of file