From 33e00aec8a21392f027d13f2ef2d1e704bbef05c Mon Sep 17 00:00:00 2001 From: Zvonimir Sabljic Date: Thu, 27 Jul 2023 14:30:47 +0200 Subject: [PATCH] Added dev ops prompts --- euclid/prompts/dev_ops/debug.prompt | 2 ++ euclid/prompts/dev_ops/ran_command.prompt | 6 ++++++ 2 files changed, 8 insertions(+) create mode 100644 euclid/prompts/dev_ops/debug.prompt create mode 100644 euclid/prompts/dev_ops/ran_command.prompt diff --git a/euclid/prompts/dev_ops/debug.prompt b/euclid/prompts/dev_ops/debug.prompt new file mode 100644 index 0000000..7082037 --- /dev/null +++ b/euclid/prompts/dev_ops/debug.prompt @@ -0,0 +1,2 @@ +Ok, we need to debug this issue so we can execute `{{ command }}` successfully. In case you cannot debug this by running any command and need a human assistance, respond with `NEED_HUMAN`. Write the command I need to run next to solve this issue in the following format: +COMMAND: {command_that_needs_to_be_ran} \ No newline at end of file diff --git a/euclid/prompts/dev_ops/ran_command.prompt b/euclid/prompts/dev_ops/ran_command.prompt new file mode 100644 index 0000000..bfe95c3 --- /dev/null +++ b/euclid/prompts/dev_ops/ran_command.prompt @@ -0,0 +1,6 @@ +I ran the command `npm start` and for this response from CLI: +``` +{{ cli_response }} +``` + +If the command was successfully executed, respond with `DONE` and if it wasn't, respond with `NEEDS_DEBUGGING`. \ No newline at end of file