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): """设置技能根目录并扫描"""