mirror of
https://github.com/aljazceru/gpt-engineer.git
synced 2026-02-03 20:26:13 +01:00
Merge branch 'main' into add-makefile
This commit is contained in:
@@ -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],
|
||||
}
|
||||
|
||||
|
||||
@@ -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.**
|
||||
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user