From 7867c8dc3445b97d684893a64f49cd0eb0270563 Mon Sep 17 00:00:00 2001 From: Bernhard Mueller Date: Sun, 9 Apr 2023 18:43:20 +0700 Subject: [PATCH] Update prompt (advise GPT to use only shell commands that terminate) --- scripts/data/prompt.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/data/prompt.txt b/scripts/data/prompt.txt index e7d0cd824a..5b139586ed 100644 --- a/scripts/data/prompt.txt +++ b/scripts/data/prompt.txt @@ -22,7 +22,7 @@ COMMANDS: 16. Get Improved Code: "improve_code", args: "suggestions": "", "code": "" 17. Write Tests: "write_tests", args: "code": "", "focus": "" 18. Execute Python File: "execute_python_file", args: "file": "" -19. Execute Shell Command: "exec_shell", args: "command_line": "" +19. Execute Shell Command: "exec_shell", args: "command_line": "". Remember only to use commands that terminate, interactive tools like vim are not supported! 20. Task Complete (Shutdown): "task_complete", args: "reason": "" RESOURCES: