mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-19 20:57:58 +00:00
Update personality.py
This commit is contained in:
parent
170f99a087
commit
3a2bc02c1c
@ -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, end_header_id_template]
|
||||
anti_prompts = [start_header_id_template, self.app.config.discussion_prompt_separator]
|
||||
if self.app.config.separator_template!="\n":
|
||||
anti_prompts.append(self.app.config.separator_template)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user