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.

run black and isort on behalf of OP

Richard Bealesea26988a95f8
diff --git a/autogpt/app.py b/autogpt/app.py
index 5e0379755d..237feae2e2 100644
--- a/autogpt/app.py
+++ b/autogpt/app.py
@@ -124,7 +124,10 @@ def execute_command(
shutdown()
else:
for command in prompt.commands:
- if command_name == command["label"].lower() or command_name == command["name"].lower():
+ if (
+ command_name == command["label"].lower()
+ or command_name == command["name"].lower()
+ ):
return command["function"](**arguments)
return (
f"Unknown command '{command_name}'. Please refer to the 'COMMANDS'"