Преглед на файлове

Update claude_ai_bot.py

master
resphina GitHub преди 1 година
родител
ревизия
e23e01c95e
No known key found for this signature in database GPG Key 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)


Loading…
Отказ
Запис