mirror of
https://github.com/aljazceru/dev-gpt.git
synced 2025-12-20 15:14:20 +01:00
🚀 fix: fix asking for content
This commit is contained in:
@@ -144,8 +144,8 @@ metas:
|
|||||||
if content == {}:
|
if content == {}:
|
||||||
conversation = self.gpt_session.get_conversation(messages=[AIMessage(content=content_raw)])
|
conversation = self.gpt_session.get_conversation(messages=[AIMessage(content=content_raw)])
|
||||||
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' + (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 wrap any code in triple backticks at the beginning and end of any file.. A general example is this:
|
||||||
|
|
||||||
**file_name.file_ending**
|
**file_name.file_ending**
|
||||||
```<json|py|...
|
```<json|py|...
|
||||||
|
|||||||
Reference in New Issue
Block a user