fix merge

pull/2531/head
BillSchumacher 2023-04-18 18:18:15 -05:00
parent 59a9986786
commit ebee041c35
No known key found for this signature in database
GPG Key ID: 1133789BDD03E12A
1 changed files with 2 additions and 4 deletions

View File

@ -177,10 +177,8 @@ def instantiate_openai_plugin_clients(manifests_specs_clients: dict, cfg: Config
return plugins
def load_plugins(
plugins_path: Path, debug: bool = False
) -> List[AutoGPTPluginTemplate]:
"""Load plugins from the plugins directory.
def scan_plugins(cfg: Config, debug: bool = False) -> List[AutoGPTPluginTemplate]:
"""Scan the plugins directory for plugins and loads them.
Args:
cfg (Config): Config instance including plugins config