Merge pull request #42 from bucolucas/fix-status-function

Fix status function to use telegram library version
This commit is contained in:
2024-08-18 13:54:03 -05:00
committed by GitHub
+2 -2
View File
@@ -3,7 +3,7 @@ import os
import importlib
import inspect
import logging
from telegram import Update
from telegram import Update, __version__ as telegram_version
from telegram.ext import Application, CommandHandler, MessageHandler, filters, ContextTypes
from dotenv import load_dotenv
from tools.base_tool import BaseTool
@@ -161,7 +161,7 @@ Current Model: {model}
🔧 System Info:
• Python version: {os.sys.version.split()[0]}
• Telegram Bot API version: {Application.VERSION}
• Telegram Bot API version: {telegram_version}
"""
logging.info("Status command executed")