Skip to content

Commit 0777012

Browse files
authored
fix: ignore empty string in skill (#439)
1 parent 8da4a0b commit 0777012

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

veadk/agent.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,8 @@ def load_skills(self):
314314
skills: Dict[str, Skill] = {}
315315

316316
for item in self.skills:
317+
if not item or str(item).strip() == "":
318+
continue
317319
path = Path(item)
318320
if path.exists() and path.is_dir():
319321
for skill in load_skills_from_directory(path):

0 commit comments

Comments
 (0)