mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 00:24:13 +08:00
fix
This commit is contained in:
parent
4259e235c6
commit
eb5ed97719
@ -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"])
|
||||
|
Loading…
x
Reference in New Issue
Block a user