Update respec

This commit is contained in:
Anton Osika
2023-06-19 23:38:38 +02:00
parent 851c6bc999
commit 808fc7242d
3 changed files with 11 additions and 12 deletions

View File

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

View File

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

View File

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