From c561fe8925d56c1d2fdcbeff19a99c8669abd492 Mon Sep 17 00:00:00 2001 From: BillSchumacher <34168009+BillSchumacher@users.noreply.github.com> Date: Thu, 20 Apr 2023 02:19:20 -0500 Subject: [PATCH] Update app.py --- autogpt/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autogpt/app.py b/autogpt/app.py index cf8e29a3..11238a05 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"