From e15057ab733ba7aff963f3080119379b2c3cbe8c Mon Sep 17 00:00:00 2001 From: yumoqing Date: Mon, 10 Aug 2026 17:08:25 +0800 Subject: [PATCH] fix: SkillLoader.__init__ should call reload() --- pipeline_core/skill_loader.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pipeline_core/skill_loader.py b/pipeline_core/skill_loader.py index f76ba3c..f33a8d2 100644 --- a/pipeline_core/skill_loader.py +++ b/pipeline_core/skill_loader.py @@ -124,6 +124,8 @@ class SkillLoader: self._global: Dict[str, Skill] = {} self._orgs: Dict[str, Dict[str, Skill]] = {} # {org_id: {name: Skill}} self._users: Dict[str, Dict[str, Skill]] = {} # {user_id: {name: Skill}} + if base_dir: + self.reload() def set_base_dir(self, base_dir: str): """设置技能根目录并扫描"""