Merge branch 'main' into add-makefile

This commit is contained in:
PatillaCode
2023-06-17 17:43:35 +02:00
3 changed files with 5 additions and 5 deletions

View File

@@ -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],
}

View File

@@ -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.**

View File

@@ -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.