Fix defaulting

This commit is contained in:
pyranota
2024-05-23 23:27:27 +02:00
parent fff2839327
commit c017c32800
+1 -1
View File
@@ -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(