Browse Source

fix: call super init

master
zhayujie 1 year ago
parent
commit
a582a46ce9
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      bot/linkai/link_ai_bot.py

+ 1
- 0
bot/linkai/link_ai_bot.py 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")



Loading…
Cancel
Save