Browse Source

Update claude_ai_bot.py

master
resphina GitHub 1 year ago
parent
commit
e23e01c95e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      bot/claude/claude_ai_bot.py

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

@@ -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)


Loading…
Cancel
Save