mirror of
https://github.com/father-bot/chatgpt_telegram_bot.git
synced 2026-06-13 03:54:57 +03:00
Fix defaulting
This commit is contained in:
+1
-1
@@ -464,7 +464,7 @@ async def message_handle(update: Update, context: CallbackContext, message=None,
|
|||||||
logger.error(current_model)
|
logger.error(current_model)
|
||||||
# What is this? ^^^
|
# What is this? ^^^
|
||||||
|
|
||||||
if current_model != "gpt-4o":
|
if current_model != "gpt-4o" and current_model != "gpt-4-vision-preview":
|
||||||
current_model = "gpt-4o"
|
current_model = "gpt-4o"
|
||||||
db.set_user_attribute(user_id, "current_model", "gpt-4o")
|
db.set_user_attribute(user_id, "current_model", "gpt-4o")
|
||||||
task = asyncio.create_task(
|
task = asyncio.create_task(
|
||||||
|
|||||||
Reference in New Issue
Block a user