From c017c328000f75e9c7f1e24a7358012216837579 Mon Sep 17 00:00:00 2001 From: pyranota Date: Thu, 23 May 2024 23:27:27 +0200 Subject: [PATCH] Fix defaulting --- bot/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/bot.py b/bot/bot.py index f6da541..4a8178f 100644 --- a/bot/bot.py +++ b/bot/bot.py @@ -464,7 +464,7 @@ async def message_handle(update: Update, context: CallbackContext, message=None, logger.error(current_model) # What is this? ^^^ - if current_model != "gpt-4o": + if current_model != "gpt-4o" and current_model != "gpt-4-vision-preview": current_model = "gpt-4o" db.set_user_attribute(user_id, "current_model", "gpt-4o") task = asyncio.create_task(