Skip to content

Commit

Permalink
🐛 Bug: Fix the bug of uploading image timeout.
Browse files Browse the repository at this point in the history
💻 Code: Upgrade ModelMerge version to 0.6.10
  • Loading branch information
yym68686 committed Jun 13, 2024
1 parent 3799df3 commit 70fe0ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,6 +320,8 @@ async def getChatGPT(update, context, title, robot, message, chatid, messageid,
print(escape(tmpresult))
else:
sent_message = await context.bot.edit_message_text(chat_id=chatid, message_id=answer_messageid, text=escape(tmpresult), parse_mode='MarkdownV2', disable_web_page_preview=True, read_timeout=time_out, write_timeout=time_out, pool_timeout=time_out, connect_timeout=time_out)
# print("tmpresult", tmpresult)

if Users.get_config(convo_id, "FOLLOW_UP"):
prompt = (
f"You are a professional Q&A expert. You will now be given reference information. Based on the reference information, please help me ask three most relevant questions that you most want to know from my perspective. Be concise and to the point. Do not have numbers in front of questions. Separate each question with a line break. Only output three questions in {config.LANGUAGE}, no need for any explanation. reference infomation is provided inside <infomation></infomation> XML tags."
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
--index-url https://pypi.python.org/simple/
python-dotenv
md2tgmd==0.2.2
ModelMerge==0.6.9
ModelMerge==0.6.10
python-telegram-bot[webhooks,rate-limiter]==21.0.1

0 comments on commit 70fe0ff

Please sign in to comment.