Browse Source

proxy update

master
resphinas 1 year ago
parent
commit
a4ab547f77
1 changed files with 4 additions and 1 deletions
  1. +4
    -1
      bot/claude/claude_ai_bot.py

+ 4
- 1
bot/claude/claude_ai_bot.py View File

@@ -19,10 +19,13 @@ class ClaudeAIBot(Bot, OpenAIImage):
self.sessions = SessionManager(ChatGPTSession, model=conf().get("model") or "gpt-3.5-turbo")
self.claude_api_cookie = conf().get("claude_api_cookie")
self.proxy = conf().get("proxy")
self.proxies = {
if self.proxy:
self.proxies = {
"http": self.proxy,
"https": self.proxy
}
else:
self.proxies = None
self.org_uuid = self.get_organization_id()
self.con_uuid = None
self.get_uuid()


Loading…
Cancel
Save