From 5134312cab18ffa7535fcec65fa1432aecaf489f Mon Sep 17 00:00:00 2001 From: Jonathan Lucas Date: Sun, 18 Aug 2024 07:58:19 -0500 Subject: [PATCH] Update status message --- telegram_inference_bot.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/telegram_inference_bot.py b/telegram_inference_bot.py index 801a413..3d37c6b 100644 --- a/telegram_inference_bot.py +++ b/telegram_inference_bot.py @@ -202,9 +202,11 @@ def switch_anthropic(update: Update, context: ContextTypes.DEFAULT_TYPE) -> None update.message.reply_text("Using Anthropic" if use_anthropic else "Using OpenAI") async def status(update: Update, context: ContextTypes.DEFAULT_TYPE) -> None: - model = GPT_4O if use_smart_model else GPT_4O_MINI - await update.message.reply_text(f"Currently using model model: {model}") - pass + if use_anthropic: + await update.message.reply_text("Currently using claude-3-5-sonnet-20240620") + else: + model = GPT_4O if use_smart_model else GPT_4O_MINI + await update.message.reply_text(f"Currently using: {model}") def main() -> None: # Create the Application and pass it your bot's token