Description
Installed skills are not executing correctly. The root cause appears to be the lack of a progressive loading mechanism. Currently, the system attempts to eagerly load all enabled skills defined in the skill_allowlist simultaneously. Furthermore, the execution context seems to lose the specific file paths required to locate and run these skills.
Expected Behavior
- Progressive Loading:
- When the LLM determines that a specific skill is required to answer a user query, it should trigger a tool call to a dedicated method, e.g.,
load_skill(skill_name).
- This
load_skill method will then:
- Resolve the correct file path for the requested skill.
- Load the full instructions, code, or context associated with that skill.
- Inject this detailed content into the current conversation context for immediate execu
- Path Preservation: Ensure that the absolute or relative file paths for each skill are correctly maintained and accessible within the execution context.
- Successful Execution: Skills should execute reliably when invoked, without requiring a full preload of all allowed skills.
Steps to Reproduce
- Install multiple custom skills and add them to the
skill_allowlist.
- Restart the application/service.
- Observe the startup logs (likely showing attempts to load all skills).
- Attempt to invoke a command that requires one of the installed skills.
- Result: The skill fails to execute.
OpenFang Version
0.4.4
Operating System
Windows
Logs / Screenshots
No response
Description
Installed skills are not executing correctly. The root cause appears to be the lack of a progressive loading mechanism. Currently, the system attempts to eagerly load all enabled skills defined in the
skill_allowlistsimultaneously. Furthermore, the execution context seems to lose the specific file paths required to locate and run these skills.Expected Behavior
load_skill(skill_name).load_skillmethod will then:Steps to Reproduce
skill_allowlist.OpenFang Version
0.4.4
Operating System
Windows
Logs / Screenshots
No response