From 630f18c37b5ae0230267a0c8e964a5084f203ab8 Mon Sep 17 00:00:00 2001 From: Zvonimir Sabljic Date: Wed, 16 Aug 2023 11:38:02 +0200 Subject: [PATCH] Added getting the run command --- euclid/helpers/agents/Developer.py | 2 +- euclid/prompts/development/get_run_command.prompt | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 euclid/prompts/development/get_run_command.prompt diff --git a/euclid/helpers/agents/Developer.py b/euclid/helpers/agents/Developer.py index 2f4d884..144b058 100644 --- a/euclid/helpers/agents/Developer.py +++ b/euclid/helpers/agents/Developer.py @@ -116,7 +116,7 @@ class Developer(Agent): if llm_response == 'DONE': return True - self.continue_development() + self.run_command = convo.send_message('development/get_run_command.prompt', {}) if continue_development: self.continue_development(convo) diff --git a/euclid/prompts/development/get_run_command.prompt b/euclid/prompts/development/get_run_command.prompt new file mode 100644 index 0000000..a41df02 --- /dev/null +++ b/euclid/prompts/development/get_run_command.prompt @@ -0,0 +1,4 @@ +How can I run this app? +!IMPORTANT! +Do not reply with anything else but the command with which I can run this app with. +For example, if the command is "python app.py", then your response needs to be only `python app.py` without the ` \ No newline at end of file