🚀 fix: fix asking for content

This commit is contained in:
Joschka Braun
2023-05-05 15:10:47 +02:00
parent 23dedf3ccc
commit 8bc95b608c

View File

@@ -144,8 +144,8 @@ metas:
if content == {}:
conversation = self.gpt_session.get_conversation(messages=[AIMessage(content=content_raw)])
content_raw = conversation.chat(
'You must add the content' + (f' for {file_name_s[0]}' if len(file_name_s) == 1 else '') +
'''. Make sure to wrap any code in triple backticks in the beginning and end of any code. A general example is this:
'You must add the content' + (f' for `{file_name_s[0]}`' if len(file_name_s) == 1 else '') +
'''. You must wrap any code in triple backticks at the beginning and end of any file.. A general example is this:
**file_name.file_ending**
```<json|py|...