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 scripts/commands.py

Bernhard Mueller9e8d35277b4b
diff --git a/scripts/commands.py b/scripts/commands.py
index 07f231e9c2..d760e4776c 100644
--- a/scripts/commands.py
+++ b/scripts/commands.py
@@ -107,7 +107,7 @@ def execute_command(command_name, arguments):
if cfg.execute_local_commands:
return exec_shell(arguments["command_line"])
else:
- return "You are not allowed to run local shell commands. To execute shell commands, EXECUTE_SHELL_COMMANDS must be set to 'True' in your config. Do not attempt to bypass the restriction."
+ return "You are not allowed to run local shell commands. To execute shell commands, EXECUTE_LOCAL_COMMANDS must be set to 'True' in your config. Do not attempt to bypass the restriction."
elif command_name == "generate_image":
return generate_image(arguments["prompt"])
elif command_name == "do_nothing":