diff --git a/openai_compatible_inference_bot.py b/openai_compatible_inference_bot.py index 14e02cc..ba58dd6 100644 --- a/openai_compatible_inference_bot.py +++ b/openai_compatible_inference_bot.py @@ -116,18 +116,18 @@ class OpenAICompatibleInferenceBot(BaseTelegramInferenceBot): async def start(self): logging.info(f"{self.__class__.__name__} started.") - async def clear(self, user_id): + def clear(self, user_id): super().clear_conversation_history(user_id) async def abort_processing(self, user_id): if user_id in self.processing_status: self.processing_status[user_id]["processing"] = False - await self.clear(user_id) + self.clear(user_id) return "Processing aborted and conversation cleared." else: - await self.clear(user_id) + self.clear(user_id) return "No active processing found to abort. Conversation cleared." @abstractmethod async def switch_model(self): - pass + pass \ No newline at end of file