mirror of
https://github.com/aljazceru/gpt-engineer.git
synced 2025-12-17 20:55:09 +01:00
Update respec
This commit is contained in:
@@ -70,7 +70,7 @@ def gen_spec(ai: AI, dbs: DBs):
|
||||
|
||||
|
||||
def respec(ai: AI, dbs: DBs):
|
||||
messages = dbs.logs[gen_spec.__name__]
|
||||
messages = json.loads(dbs.logs[gen_spec.__name__])
|
||||
messages += [ai.fsystem(dbs.identity["respec"])]
|
||||
|
||||
messages = ai.next(messages)
|
||||
|
||||
@@ -7,12 +7,12 @@ You will first lay out the names of the core classes, functions, methods that wi
|
||||
|
||||
Then you will output the content of each file including ALL code.
|
||||
Each file must strictly follow a markdown code block format, where the following tokens must be replaced such that
|
||||
[FILENAME] is the lowercase file name including the file extension,
|
||||
[LANG] is the markup code block language for the code's language, and [CODE] is the code:
|
||||
FILENAME is the lowercase file name including the file extension,
|
||||
LANG is the markup code block language for the code's language, and CODE is the code:
|
||||
|
||||
[FILENAME]
|
||||
```[LANG]
|
||||
[CODE]
|
||||
FILENAME
|
||||
```LANG
|
||||
CODE
|
||||
```
|
||||
|
||||
You will start with the "entrypoint" file, then go to the ones that are imported by that file, and so on.
|
||||
|
||||
@@ -5,13 +5,12 @@ First lay out the names of the core classes, functions, methods that will be nec
|
||||
|
||||
Then you will output the content of each file including ALL code.
|
||||
Each file must strictly follow a markdown code block format, where the following tokens must be replaced such that
|
||||
[FILENAME] is the lowercase file name including the file extension,
|
||||
[LANG] is the markup code block language for the code's language, and [CODE] is the code:
|
||||
FILENAME is the lowercase file name including the file extension,
|
||||
LANG is the markup code block language for the code's language, and CODE is the code:
|
||||
|
||||
Syntax:
|
||||
[FILENAME]
|
||||
```[LANG]
|
||||
[CODE]
|
||||
FILENAME
|
||||
```LANG
|
||||
CODE
|
||||
```
|
||||
|
||||
Please note that the code should be fully functional. No placeholders.
|
||||
|
||||
Reference in New Issue
Block a user