瀏覽代碼

proxy update

master
resphinas 1 年之前
父節點
當前提交
a4ab547f77
共有 1 個檔案被更改,包括 4 行新增1 行删除
  1. +4
    -1
      bot/claude/claude_ai_bot.py

+ 4
- 1
bot/claude/claude_ai_bot.py 查看文件

@@ -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…
取消
儲存