add list models
This commit is contained in:
parent
265c0f841d
commit
ff75b18c24
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue