Merge branch 'dev' of https://github.com/MoFox-Studio/MoFox_Bot into dev
This commit is contained in:
@@ -149,6 +149,14 @@ ban_msgs_regex = [
|
||||
#"\\d{4}-\\d{2}-\\d{2}", # 匹配日期
|
||||
]
|
||||
|
||||
[notice] # Notice消息配置
|
||||
enable_notice_trigger_chat = false # 是否允许notice消息触发聊天流程(默认关闭,notice只会被记录但不会触发回复)
|
||||
notice_in_prompt = true # 是否在提示词中展示最近的notice消息
|
||||
notice_prompt_limit = 5 # 在提示词中展示的最大notice数量
|
||||
notice_time_window = 3600 # notice时间窗口(秒),只有这个时间范围内的notice会在提示词中展示,默认1小时
|
||||
max_notices_per_chat = 30 # 每个聊天保留的notice数量上限
|
||||
notice_retention_time = 86400 # notice保留时间(秒),默认24小时
|
||||
|
||||
[anti_prompt_injection] # LLM反注入系统配置
|
||||
enabled = false # 是否启用反注入系统
|
||||
enabled_rules = false # 是否启用规则检测
|
||||
|
||||
Reference in New Issue
Block a user