Skip to content

Commit

Permalink
修复一样的消息的问题
Browse files Browse the repository at this point in the history
  • Loading branch information
yym68686 committed May 21, 2023
1 parent fa88697 commit 2cfc9dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion AI.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ async def getBing(self, message, update, context):
except:
learnmoretext = ""
result = f"🤖️ Bing {numMessages} / {maxNumMessages} \n\n" + message + "\n\n" + learnmoretext
await context.bot.edit_message_text(chat_id=update.message.chat_id, message_id=messageid, text=escape(result), parse_mode='MarkdownV2')
if lastresult != result:
await context.bot.edit_message_text(chat_id=update.message.chat_id, message_id=messageid, text=escape(result), parse_mode='MarkdownV2')

# # 整段 creative balanced precise
# result = await self.Bingbot.ask(prompt=prompt + message, conversation_style=ConversationStyle.creative)
Expand Down

0 comments on commit 2cfc9dc

Please sign in to comment.