diff --git a/config.yaml.template b/config.yaml.template index c61d972..0586434 100644 --- a/config.yaml.template +++ b/config.yaml.template @@ -50,3 +50,7 @@ news: # api: https://api.openai.com/v1 # 如果你不知道这是干嘛的,就不要改 # proxy: # 如果你在国内,你可能需要魔法,大概长这样:http://域名或者IP地址:端口号 # prompt: 你是智能聊天机器人,你叫wcferry # 根据需要对角色进行设定 + +tigerbot: + key: key + model: tigerbot-7b-sft diff --git a/configuration.py b/configuration.py index 201abbc..7a96ac6 100644 --- a/configuration.py +++ b/configuration.py @@ -30,3 +30,4 @@ class Config(object): self.GROUPS = yconfig["groups"]["enable"] self.CHATGPT = yconfig.get("chatgpt") self.NEWS = yconfig["news"]["receivers"] + self.TIGERBOT = yconfig.get("tigerbot")