瀏覽代碼

Update claude_ai_bot.py

master
resphina GitHub 1 年之前
父節點
當前提交
9c3a27894f
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      bot/claude/claude_ai_bot.py

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

@@ -192,7 +192,7 @@ class ClaudeAIBot(Bot, OpenAIImage):
reply_content = ''.join(completions)

if "rate limi" in reply_content:
logger.error("rate limit error: 对话达到系统速率限制,与cladue同步,请进入官网查看解除限制时间")
logger.error("rate limit error: The conversation has reached the system speed limit and is synchronized with Cladue. Please go to the official website to check the lifting time")
return Reply(ReplyType.ERROR, "对话达到系统速率限制,与cladue同步,请进入官网查看解除限制时间")
logger.info(f"[CLAUDE] reply={reply_content}, total_tokens=invisible")
self.sessions.session_reply(reply_content, session_id, 100)


Loading…
取消
儲存