Skip to content

Commit

Permalink
fix: call super init
Browse files Browse the repository at this point in the history
  • Loading branch information
zhayujie committed Jun 12, 2023
1 parent abf80a3 commit a582a46
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions bot/linkai/link_ai_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")

Expand Down

0 comments on commit a582a46

Please sign in to comment.