From 48cc143e8838a1f8ae2fe31501de6ea7f50aef87 Mon Sep 17 00:00:00 2001 From: 6vision Date: Fri, 17 May 2024 01:22:38 +0800 Subject: [PATCH] fix: linkai plugin config_template --- plugins/linkai/linkai.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/linkai/linkai.py b/plugins/linkai/linkai.py index 69279f96f..c38319a51 100644 --- a/plugins/linkai/linkai.py +++ b/plugins/linkai/linkai.py @@ -9,6 +9,7 @@ from common import const import os from .utils import Util +from config import plugin_config @plugins.register( @@ -253,6 +254,7 @@ def _load_config_template(self): plugin_conf = json.load(f) plugin_conf["midjourney"]["enabled"] = False plugin_conf["summary"]["enabled"] = False + plugin_config["linkai"] = plugin_conf return plugin_conf except Exception as e: logger.exception(e)