分离提及和at必回复

r-dev
UnCLAS-Prommer 2026-02-27 16:11:47 +08:00
parent 7ef21c516a
commit e253a2ed2a
No known key found for this signature in database
1 changed files with 4 additions and 1 deletions

View File

@ -203,7 +203,7 @@ class ChatConfig(ConfigBase):
"""聊天频率越小越沉默范围0-1""" """聊天频率越小越沉默范围0-1"""
mentioned_bot_reply: bool = Field( mentioned_bot_reply: bool = Field(
default=True, default=False,
json_schema_extra={ json_schema_extra={
"x-widget": "switch", "x-widget": "switch",
"x-icon": "at-sign", "x-icon": "at-sign",
@ -211,6 +211,9 @@ class ChatConfig(ConfigBase):
) )
"""是否启用提及必回复""" """是否启用提及必回复"""
inevitable_at_reply: bool = Field(default=True)
"""是否启用at必回复"""
max_context_size: int = Field( max_context_size: int = Field(
default=30, default=30,
json_schema_extra={ json_schema_extra={