add list models
This commit is contained in:
parent
265c0f841d
commit
ff75b18c24
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user