chore: update requirements and config-template

This commit is contained in:
lanvent
2023-04-09 16:16:54 +08:00
parent 8779eab36b
commit 6bd1242d43
5 changed files with 5 additions and 4 deletions

View File

@@ -19,7 +19,7 @@ class Bridge(object):
model_type = conf().get("model")
if model_type in ["text-davinci-003"]:
self.btype['chat'] = const.OPEN_AI
if conf().get("use_azure_chatgpt"):
if conf().get("use_azure_chatgpt", False):
self.btype['chat'] = const.CHATGPTONAZURE
self.bots={}