mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-01-19 09:41:03 +08:00
feat: add plugin global config to support docker volumes
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user