mirror of
https://github.com/aljazceru/dev-gpt.git
synced 2025-12-20 07:04:20 +01:00
refactor: cleanup
This commit is contained in:
@@ -126,7 +126,7 @@ metas:
|
|||||||
content = parse_result_fn(content_raw)
|
content = parse_result_fn(content_raw)
|
||||||
if content == {}:
|
if content == {}:
|
||||||
content_raw = conversation.chat(
|
content_raw = conversation.chat(
|
||||||
'You must add the content' + (f' for {file_name_s[0]}' if len(file_name_s) == 1 else ''))
|
'You must add the content in the format shown above' + (f' for {file_name_s[0]}' if len(file_name_s) == 1 else ''))
|
||||||
content = parse_result_fn(content_raw)
|
content = parse_result_fn(content_raw)
|
||||||
for _file_name, _file_content in content.items():
|
for _file_name, _file_content in content.items():
|
||||||
persist_file(_file_content, os.path.join(destination_folder, _file_name))
|
persist_file(_file_content, os.path.join(destination_folder, _file_name))
|
||||||
|
|||||||
Reference in New Issue
Block a user