load_assets
Method
This is a method of the SkillLoader class in the loader module.Load asset paths from skill’s assets/ directory (Level 3). Note: For binary assets, only paths are returned, not contents.
Signature
Parameters
LoadedSkill
required
LoadedSkill instance
Returns
dict
Dict mapping asset names to their paths
Uses
assets_dir.existsassets_dir.is_dirassets_dir.iterdirasset_file.is_file
Used By
Source
View on GitHub
praisonaiagents/skills/loader.py at line 179
