mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-07-21 22:27:13 +08:00
bugfix for azure chatgpt adapting
This commit is contained in:
@@ -151,6 +151,7 @@ class AzureChatGPTBot(ChatGPTBot):
|
||||
|
||||
def compose_args(self):
|
||||
args = super().compose_args()
|
||||
args["engine"] = args["model"]
|
||||
del(args["model"])
|
||||
return args
|
||||
args["deployment_id"] = conf().get("azure_deployment_id")
|
||||
#args["engine"] = args["model"]
|
||||
#del(args["model"])
|
||||
return args
|
||||
|
||||
Reference in New Issue
Block a user