mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-06-02 00:57:41 +08:00
fix: linkai plugin config_template
This commit is contained in:
@@ -9,6 +9,7 @@ from common.expired_dict import ExpiredDict
|
|||||||
from common import const
|
from common import const
|
||||||
import os
|
import os
|
||||||
from .utils import Util
|
from .utils import Util
|
||||||
|
from config import plugin_config
|
||||||
|
|
||||||
|
|
||||||
@plugins.register(
|
@plugins.register(
|
||||||
@@ -253,6 +254,7 @@ class LinkAI(Plugin):
|
|||||||
plugin_conf = json.load(f)
|
plugin_conf = json.load(f)
|
||||||
plugin_conf["midjourney"]["enabled"] = False
|
plugin_conf["midjourney"]["enabled"] = False
|
||||||
plugin_conf["summary"]["enabled"] = False
|
plugin_conf["summary"]["enabled"] = False
|
||||||
|
plugin_config["linkai"] = plugin_conf
|
||||||
return plugin_conf
|
return plugin_conf
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.exception(e)
|
logger.exception(e)
|
||||||
|
|||||||
Reference in New Issue
Block a user