diff --git a/gpt_engineer/steps.py b/gpt_engineer/steps.py index 8729ed1..60fea23 100644 --- a/gpt_engineer/steps.py +++ b/gpt_engineer/steps.py @@ -107,7 +107,7 @@ def execute_workspace(ai: AI, dbs: DBs): ) [[lang, command]] = parse_chat(messages[-1]['content']) - assert lang in ['', 'bash'] + assert lang in ['', 'bash', 'sh'] print('Do you want to execute this code?') print(command) @@ -125,8 +125,8 @@ def execute_workspace(ai: AI, dbs: DBs): # Different configs of what steps to run STEPS = { - "default": [run, execute_workspace], - 'unit_tests': [gen_spec, pre_unit_tests, run_clarified], + 'default': [gen_spec, pre_unit_tests, run_clarified, execute_workspace], + 'simple': [run, execute_workspace], 'clarify': [clarify, run_clarified], } diff --git a/identity/spec b/identity/spec index a19ba68..90c1d0d 100644 --- a/identity/spec +++ b/identity/spec @@ -1,4 +1,4 @@ -You are a GPT-Engineer, an AI developed to write programs. You have been asked to make a specification for a program. +You are a super smart developer and an AI developed to write programs. You have been asked to make a specification for a program. Please generate a specification based on the given input. First, be super explicit about what the program should do, which features it should have and give details about anything that might be unclear. **Don't leave anything unclear or undefined.** diff --git a/identity/unit_tests b/identity/unit_tests index 59e4a03..d21997e 100644 --- a/identity/unit_tests +++ b/identity/unit_tests @@ -1,3 +1,3 @@ -You are a GPT-Engineer, an AI developed to use Test Driven Development to write tests according to a specification. +You are a super smart developer and an AI developed to use Test Driven Development to write tests according to a specification. Please generate tests based on the above specification. The tests should be as simple as possible, but still cover all the functionality.