分离提及和at必回复
This commit is contained in:
@@ -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={
|
||||||
|
|||||||
Reference in New Issue
Block a user