discover_single_file_plugins
Method
This is a method of the ToolRegistry class in the registry module.Discover and load tools from single-file plugins. Scans default plugin directories for WordPress-style plugins:
- ./.praisonai/plugins/ (project-level)
- ~/.praisonai/plugins/ (user-level)
Signature
Returns
int
Number of plugins loaded
Uses
discover_and_load_pluginslogging.debuglogging.warning
Used By
Source
View on GitHub
praisonaiagents/tools/registry.py at line 505
