From 502756bb58a9ce4d674ef0ca1c827b0d3991df14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carl=20Thom=C3=A9?= Date: Sun, 18 Jun 2023 15:04:30 +0200 Subject: [PATCH] `black` --- gpt_engineer/chat_to_files.py | 1 + gpt_engineer/steps.py | 9 ++++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gpt_engineer/chat_to_files.py b/gpt_engineer/chat_to_files.py index 9a7f8de..758dac1 100644 --- a/gpt_engineer/chat_to_files.py +++ b/gpt_engineer/chat_to_files.py @@ -1,5 +1,6 @@ import re + def parse_chat(chat): # -> List[Tuple[str, str]]: # Split the chat into sections by the "*CODEBLOCKSBELOW*" token split_chat = chat.split("*CODEBLOCKSBELOW*") diff --git a/gpt_engineer/steps.py b/gpt_engineer/steps.py index 882db29..c368f34 100644 --- a/gpt_engineer/steps.py +++ b/gpt_engineer/steps.py @@ -199,7 +199,14 @@ STEPS = { "benchmark": [gen_spec, gen_unit_tests, gen_code, gen_entrypoint], "simple": [simple_gen, gen_entrypoint, execute_entrypoint], "clarify": [clarify, gen_clarified_code, gen_entrypoint, execute_entrypoint], - "respec": [gen_spec, respec, gen_unit_tests, gen_code, gen_entrypoint, execute_entrypoint], + "respec": [ + gen_spec, + respec, + gen_unit_tests, + gen_code, + gen_entrypoint, + execute_entrypoint, + ], "execute_only": [execute_entrypoint], "use_feedback": [use_feedback], }