adjust:整理代码,仅添加json方式的prompt读取

This commit is contained in:
chordfish
2023-03-10 10:13:40 +08:00
parent 7477c7c67f
commit ac65d81ba1
4 changed files with 39 additions and 74 deletions
+1 -7
View File
@@ -79,17 +79,11 @@ default_prompt = {
"default": "如果我之后想获取帮助,请你说“输入!help获取帮助”",
}
# 实验性设置项
# JSON完整情景导入,存放JSON的文件夹
full_prompt_dir = "scenario/"
# 实验性设置项: JSON完整情景导入
# 预设prompt模式
# 参考值:旧版本方式:default | 完整情景:full_scenario
preset_mode = "default"
# 过滤AI脱离人设的消息
# 这类消息在对应情景json中设置,将其替换为自定义消息,以保持人格
filter_ai_warning = False
# 群内响应规则
# 符合此消息的群内消息即使不包含at机器人也会响应