From dc71c92d34e051bdbf61902ee07b594dfb1961f1 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Fri, 28 Aug 2026 17:55:50 +0800 Subject: [PATCH] =?UTF-8?q?fix(log):=20=E5=8A=A0=E8=BD=BD=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E6=94=B9debug=E7=BA=A7=E2=80=94=E2=80=94=E5=AE=BF?= =?UTF-8?q?=E4=B8=BB=E6=97=A5=E5=BF=97=E8=BF=87=E6=BB=A4info,=E5=90=84?= =?UTF-8?q?=E6=A8=A1=E5=9D=97=E5=8A=A0=E8=BD=BD=E6=97=A5=E5=BF=97=E5=9D=87?= =?UTF-8?q?debug=E6=89=8D=E5=8F=AF=E8=A7=82=E6=B5=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pipeline_opportunity/init.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pipeline_opportunity/init.py b/pipeline_opportunity/init.py index 1b3d4b4..e5f55be 100644 --- a/pipeline_opportunity/init.py +++ b/pipeline_opportunity/init.py @@ -23,13 +23,14 @@ def load_pipeline_opportunity(): return True # 主 agent 能力包 + slash 命令(import 即注册,与投标产线同机制) + # 注意:宿主日志级别过滤 info,模块加载日志须用 debug 才能被观察到(与宿主各模块一致) try: from . import opp_ability # noqa: F401 - logger.info("[pipeline_opportunity] ability registered: opportunity_general") + logger.debug("[pipeline_opportunity] ability registered: opportunity_general") except Exception as e: logger.warning("[pipeline_opportunity] ability 注册失败: %s", str(e)[:200]) return False _loaded = True - logger.info("[pipeline_opportunity] v0.1.0 loaded") + logger.debug("[pipeline_opportunity] v0.1.0 loaded") return True