feat:可关闭引用回复
This commit is contained in:
@@ -55,7 +55,7 @@ BOT_CONFIG_PATH: Path = (CONFIG_DIR / "bot_config.toml").resolve().absolute()
|
||||
MODEL_CONFIG_PATH: Path = (CONFIG_DIR / "model_config.toml").resolve().absolute()
|
||||
LEGACY_ENV_PATH: Path = (PROJECT_ROOT / ".env").resolve().absolute()
|
||||
MMC_VERSION: str = "1.0.0"
|
||||
CONFIG_VERSION: str = "8.9.4"
|
||||
CONFIG_VERSION: str = "8.9.5"
|
||||
MODEL_CONFIG_VERSION: str = "1.14.1"
|
||||
|
||||
logger = get_logger("config")
|
||||
|
||||
@@ -194,6 +194,15 @@ class ChatConfig(ConfigBase):
|
||||
inevitable_at_reply: bool = Field(default=True)
|
||||
"""是否启用at必回复"""
|
||||
|
||||
enable_reply_quote: bool = Field(
|
||||
default=True,
|
||||
json_schema_extra={
|
||||
"x-widget": "switch",
|
||||
"x-icon": "quote",
|
||||
},
|
||||
)
|
||||
"""是否启用回复时附带引用回复"""
|
||||
|
||||
max_context_size: int = Field(
|
||||
default=30,
|
||||
json_schema_extra={
|
||||
|
||||
Reference in New Issue
Block a user