mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-28 08:04:13 +08:00
shit
This commit is contained in:
parent
9cdaf8752d
commit
773751f349
@ -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 _
|
||||
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user