diff --git a/bot.py b/bot.py index ad3eb8b2..a3409192 100644 --- a/bot.py +++ b/bot.py @@ -222,7 +222,7 @@ async def command_bot(update, context, language=None, prompt=translator_prompt, if Users.get_config(convo_id, "TITLE"): title = f"`🤖️ {engine}`\n\n" - message = get_image_message(image_url, message, engine) + message = get_image_message(image_url, [{"type": "text", "text": message}], engine) await getChatGPT(update, context, title, robot, message, chatid, messageid, convo_id, message_thread_id, pass_history) else: message = await context.bot.send_message( diff --git a/requirements.txt b/requirements.txt index 7e500041..72daca67 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ --index-url https://pypi.python.org/simple/ python-dotenv md2tgmd==0.2.3 -ModelMerge==0.7.7 +ModelMerge==0.7.8 python-telegram-bot[webhooks,rate-limiter]==21.0.1 \ No newline at end of file