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.

Update app.py

BillSchumacherc561fe8925d5
diff --git a/autogpt/app.py b/autogpt/app.py
index cf8e29a36d..11238a059a 100644
--- a/autogpt/app.py
+++ b/autogpt/app.py
@@ -125,7 +125,7 @@ def execute_command(
else:
for command in prompt.commands:
if command_name == command["label"] or command_name == command["name"]:
- return command["function"](*arguments.values())
+ return command["function"](**arguments)
return (
f"Unknown command '{command_name}'. Please refer to the 'COMMANDS'"
" list for available commands and only respond in the specified JSON"