mirror of https://github.com/langgenius/dify.git
feat: reformat prompt
This commit is contained in:
parent
a4101b713c
commit
0f0f6e0846
|
|
@ -190,7 +190,7 @@ And answer according to the language of the user's question.
|
|||
if pre_prompt:
|
||||
human_message_prompt += pre_prompt
|
||||
|
||||
query_prompt = "\nHuman:{query}\nAI:"
|
||||
query_prompt = "\nHuman: {query}\nAI: "
|
||||
|
||||
if memory:
|
||||
# append chat histories
|
||||
|
|
|
|||
Loading…
Reference in New Issue