Refactor AnthropicTelegramInferenceBot to inherit from BaseTelegramInferenceBot

This commit is contained in:
2024-08-19 11:34:53 -05:00
parent a402fec869
commit 3caa8ab80f
+2 -3
View File
@@ -2,10 +2,9 @@ import os
import json
import logging
from anthropic import Anthropic
from base_inference_bot import BaseInferenceBot
from telegram_helper import TelegramHelper
from base_telegram_inference_bot import BaseTelegramInferenceBot
class AnthropicTelegramInferenceBot(BaseInferenceBot):
class AnthropicTelegramInferenceBot(BaseTelegramInferenceBot):
def __init__(self):
super().__init__()
self.anthropic_client = Anthropic(