mirror of
https://github.com/aljazceru/gpt-engineer.git
synced 2025-12-17 12:45:26 +01:00
Update gpt_engineer/steps.py
This commit is contained in:
@@ -68,7 +68,7 @@ def pre_unit_tests(ai: AI, dbs: DBs):
|
|||||||
'''
|
'''
|
||||||
Generate unit tests based on the specification, that should work.
|
Generate unit tests based on the specification, that should work.
|
||||||
'''
|
'''
|
||||||
messages = [ai.fsystem(setup_sys_prompt(dbs)), ai.fsystem(f"Main prompt: {dbs.input['main_prompt']}"), ai.fsystem(f"Specification:\n\n{dbs.memory['specification']}")]
|
messages = [ai.fsystem(setup_sys_prompt(dbs)), ai.fuser(f"Instructions: {dbs.input['main_prompt']}"), ai.fuser(f"Specification:\n\n{dbs.memory['specification']}")]
|
||||||
|
|
||||||
messages = ai.next(messages, dbs.identity['unit_tests'])
|
messages = ai.next(messages, dbs.identity['unit_tests'])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user