浏览代码

Update claude_ai_bot.py

master
resphina GitHub 1年前
父节点
当前提交
e23e01c95e
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      bot/claude/claude_ai_bot.py

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

@@ -35,6 +35,7 @@ class ClaudeAIBot(Bot, OpenAIImage):
random_uuid_str = str(random_uuid)
formatted_uuid = f"{random_uuid_str[0:8]}-{random_uuid_str[9:13]}-{random_uuid_str[14:18]}-{random_uuid_str[19:23]}-{random_uuid_str[24:]}"
return formatted_uuid
def reply(self, query, context: Context = None) -> Reply:
if context.type == ContextType.TEXT:
return self._chat(query, context)


正在加载...
取消
保存