From 9cb6ae1b4c56b9759331e4fdf178729582af137f Mon Sep 17 00:00:00 2001 From: tt-P607 <68868379+tt-P607@users.noreply.github.com> Date: Fri, 26 Sep 2025 22:57:35 +0800 Subject: [PATCH] =?UTF-8?q?feat(config):=20=E4=B8=BA=E8=A1=A8=E8=BE=BE?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=B7=BB=E5=8A=A0=E5=90=AF=E7=94=A8=E5=BC=80?= =?UTF-8?q?=E5=85=B3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/official_configs.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config/official_configs.py b/src/config/official_configs.py index 3ba341997..6ab914a93 100644 --- a/src/config/official_configs.py +++ b/src/config/official_configs.py @@ -308,6 +308,7 @@ class ExpressionRule(ValidatedConfigBase): class ExpressionConfig(ValidatedConfigBase): """表达配置类""" + enable_expression: bool = Field(default=True, description="是否启用表达") rules: List[ExpressionRule] = Field(default_factory=list, description="表达学习规则") def _parse_stream_config_to_chat_id(self, stream_config_str: str) -> Optional[str]: