新增0.9之前的Prompt模板,支持选择Prompt模式(s4u或normal),并更新相关配置文件以适应新功能。
This commit is contained in:
@@ -106,6 +106,9 @@ class PersonalityConfig(ConfigBase):
|
||||
reply_style: str = ""
|
||||
"""表达风格"""
|
||||
|
||||
prompt_mode: Literal["s4u", "normal"] = "s4u"
|
||||
"""Prompt模式选择:s4u为原有s4u样式,normal为0.9之前的模式"""
|
||||
|
||||
compress_personality: bool = True
|
||||
"""是否压缩人格,压缩后会精简人格信息,节省token消耗并提高回复性能,但是会丢失一些信息,如果人设不长,可以关闭"""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user