Remove http

This commit is contained in:
Changhua
2023-07-04 06:50:24 +08:00
parent 40d4898f9b
commit dc00be0d23
2 changed files with 0 additions and 6 deletions
-5
View File
@@ -50,8 +50,3 @@ news:
# api: https://api.openai.com/v1 # 如果你不知道这是干嘛的,就不要改
# proxy: # 如果你在国内,你可能需要魔法,大概长这样:http://域名或者IP地址:端口号
# prompt: 你是智能聊天机器人,你叫wcferry # 根据需要对角色进行设定
# 如果需要暴露 HTTP 接口,取消下面的注释
# http:
# host: 0.0.0.0
# port: 9999
-1
View File
@@ -29,5 +29,4 @@ class Config(object):
logging.config.dictConfig(yconfig["logging"])
self.GROUPS = yconfig["groups"]["enable"]
self.CHATGPT = yconfig.get("chatgpt")
self.HTTP = yconfig.get("http")
self.NEWS = yconfig["news"]["receivers"]