This commit is contained in:
恍兮惚兮 2024-09-05 23:12:41 +08:00
parent 9cdaf8752d
commit 773751f349
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ class gptcommon(basetrans):
def createheaders(self):
_ = {"Authorization": "Bearer " + self.multiapikeycurrent["SECRET_KEY"]}
if "openai.azure.com/openai/deployments/" in self.config("API接口地址", ""):
if "openai.azure.com/openai/deployments/" in self.config.get("API接口地址", ""):
_.update({"api-key": self.multiapikeycurrent["SECRET_KEY"]})
return _

View File

@ -29,7 +29,7 @@ include(generate_product_version)
set(VERSION_MAJOR 5)
set(VERSION_MINOR 34)
set(VERSION_PATCH 2)
set(VERSION_PATCH 3)
add_library(pch pch.cpp)
target_precompile_headers(pch PUBLIC pch.h)