diff --git a/base_telegram_inference_bot.py b/base_telegram_inference_bot.py index 4844d9a..cc0d136 100644 --- a/base_telegram_inference_bot.py +++ b/base_telegram_inference_bot.py @@ -15,7 +15,7 @@ class BaseTelegramInferenceBot(ABC): @staticmethod def load_system_prompt(): - with open(os.environ.get("SYSTEM_PROMPT_PATH"), "r") as file: + with open(os.environ.get("SYSTEM_PROMPT_PATH"), "r", encoding="utf-8") as file: return file.read().strip() @staticmethod