瀏覽代碼

Update chat_gpt_bot.py

resphina 2 年之前
父節點
當前提交
c6e31b2fdc
共有 1 個文件被更改,包括 0 次插入1 次删除
  1. 0 1
      bot/chatgpt/chat_gpt_bot.py

+ 0 - 1
bot/chatgpt/chat_gpt_bot.py

@@ -106,7 +106,6 @@ class ChatGPTBot(Bot, OpenAIImage):
             reply = Reply(ReplyType.ERROR, "Bot不支持处理{}类型的消息".format(context.type))
             return reply
 
-
     def reply_text(self, session: ChatGPTSession, api_key=None, args=None, retry_count=0) -> dict:
         """
         call openai's ChatCompletion to get the answer