From e23e01c95e01c91e78cdb7a7311bf530c20ef323 Mon Sep 17 00:00:00 2001 From: resphina <69687075+resphinas@users.noreply.github.com> Date: Sun, 3 Sep 2023 15:40:08 +0800 Subject: [PATCH] Update claude_ai_bot.py --- bot/claude/claude_ai_bot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bot/claude/claude_ai_bot.py b/bot/claude/claude_ai_bot.py index c4c33f0..0959124 100644 --- a/bot/claude/claude_ai_bot.py +++ b/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)