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