This commit is contained in:
恍兮惚兮 2024-08-30 01:26:45 +08:00
parent 4259e235c6
commit eb5ed97719

View File

@ -8,6 +8,7 @@ class TS(gptcommon):
def createheaders(self):
_ = super().createheaders()
_.update({"api-key": self.multiapikeycurrent["api-key"]})
return _
def translate(self, query):
self.checkempty(["api-key", "api-version", "endpoint", "deployment-id"])