fix: call super init

This commit is contained in:
zhayujie
2023-06-12 14:05:47 +08:00
parent abf80a3266
commit a582a46ce9

View File

@@ -21,6 +21,7 @@ class LinkAIBot(Bot, OpenAIImage):
NO_QUOTA_CODE = 406
def __init__(self):
super().__init__()
self.base_url = "https://api.link-ai.chat/v1"
self.sessions = SessionManager(ChatGPTSession, model=conf().get("model") or "gpt-3.5-turbo")