mirror of
https://github.com/ParisNeo/lollms.git
synced 2025-04-19 08:06:14 +00:00
Update personality.py
This commit is contained in:
parent
d47da14c49
commit
211f4f8d30
@ -1630,7 +1630,7 @@ class AIPersonality:
|
||||
end_header_id_template = self.config.end_header_id_template
|
||||
separator_template = self.config.separator_template
|
||||
|
||||
anti_prompts = [start_header_id_template, self.app.config.discussion_prompt_separator, separator_template, end_header_id_template]
|
||||
anti_prompts = [start_header_id_template, self.app.config.discussion_prompt_separator, end_header_id_template]
|
||||
if self.app.config.separator_template!="\n":
|
||||
anti_prompts.append(self.app.config.separator_template)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user