mirror of
https://github.com/aljazceru/dev-gpt.git
synced 2026-01-08 08:04:24 +01:00
feat: chain of thought
This commit is contained in:
@@ -9,6 +9,10 @@ def recreate_folder(folder_path):
|
||||
shutil.rmtree(folder_path)
|
||||
os.makedirs(folder_path)
|
||||
|
||||
def persist_file(file_content, file_name):
|
||||
with open(f'executor/{file_name}', 'w') as f:
|
||||
f.write(file_content)
|
||||
|
||||
|
||||
class GenerationTimeoutError(Exception):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user