feat: add plugin global config to support docker volumes

This commit is contained in:
zhayujie
2023-07-20 11:36:02 +08:00
parent 2361e3c28c
commit 954e55f4b4
8 changed files with 90 additions and 8 deletions

View File

@@ -126,7 +126,7 @@ class Tool(Plugin):
return tool_config
else:
with open(config_path, "r") as f:
tool_config = json.load(f)
tool_config = super().load_config() or json.load(f)
return tool_config
def _build_tool_kwargs(self, kwargs: dict):