From ff75b18c24e603ae49064adce302469206ecce72 Mon Sep 17 00:00:00 2001 From: owl Date: Fri, 14 Mar 2025 21:03:25 +0700 Subject: [PATCH] add list models --- tgbot/shit/prompting.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tgbot/shit/prompting.py b/tgbot/shit/prompting.py index 521de1d..a7384b8 100644 --- a/tgbot/shit/prompting.py +++ b/tgbot/shit/prompting.py @@ -228,7 +228,7 @@ async def gen_image(update: Update, context: ContextTypes.DEFAULT_TYPE): query = update.message.text - if query.startswith("list models"): + if query.startswith("prompting list models"): models = await list_models() return await context.bot.send_message(chat_id=update.effective_chat.id, text=models)