Fix status function to use telegram library version
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user