Merge branch 'master' of github.com:Torantulino/Auto-GPT into shellcommands

This commit is contained in:
Bernhard Mueller
2023-04-12 23:15:31 +07:00
19 changed files with 156 additions and 68 deletions

View File

@@ -115,7 +115,7 @@ def execute_command(command_name, arguments):
elif command_name == "task_complete":
shutdown()
else:
return f"Unknown command '{command_name}'. Please refer to the 'COMMANDS' list for availabe commands and only respond in the specified JSON format."
return f"Unknown command '{command_name}'. Please refer to the 'COMMANDS' list for available commands and only respond in the specified JSON format."
# All errors, return "Error: + error message"
except Exception as e:
return "Error: " + str(e)