去除无效大模型配置
This commit is contained in:
@@ -27,9 +27,6 @@ class Config(object):
|
||||
def reload(self) -> None:
|
||||
yconfig = self._load_config()
|
||||
logging.config.dictConfig(yconfig["logging"])
|
||||
self.GROUPS = yconfig["groups"]["enable"]
|
||||
self.NEWS = yconfig["news"]["receivers"]
|
||||
self.REPORT_REMINDERS = yconfig["report_reminder"]["receivers"]
|
||||
|
||||
self.CHATGPT = yconfig.get("chatgpt", {})
|
||||
self.TIGERBOT = yconfig.get("tigerbot", {})
|
||||
|
||||
Reference in New Issue
Block a user