插件启动接入

This commit is contained in:
tuyang.yhj
2023-05-12 23:40:37 +08:00
parent 192db2236a
commit 416205ae7a
15 changed files with 557 additions and 43 deletions

View File

@@ -207,6 +207,8 @@ def scan_plugins(cfg: Config, debug: bool = False) -> List[AutoGPTPluginTemplate
List[Tuple[str, Path]]: List of plugins.
"""
loaded_plugins = []
current_dir = os.getcwd()
print(current_dir)
# Generic plugins
plugins_path_path = Path(cfg.plugins_dir)