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.
add: execute shell command to prompt.py
Alrik Olson2a623941127c
diff --git a/scripts/prompt.py b/scripts/prompt.pyindex bbdfa5ec6b..286002ee2d 100644--- a/scripts/prompt.py+++ b/scripts/prompt.py@@ -34,6 +34,7 @@ def get_prompt():("Get Improved Code", "improve_code", {"suggestions": "<list_of_suggestions>", "code": "<full_code_string>"}),("Write Tests", "write_tests", {"code": "<full_code_string>", "focus": "<list_of_focus_areas>"}),("Execute Python File", "execute_python_file", {"file": "<file>"}),+ ("Execute Shell Command, non-interactive commands only", "execute_shell", { "command_line": "<command_line>"}),("Task Complete (Shutdown)", "task_complete", {"reason": "<reason>"}),("Generate Image", "generate_image", {"prompt": "<prompt>"}),("Do Nothing", "do_nothing", {}),