Explorar o código

Update chat_gpt_bot.py

resphina %!s(int64=2) %!d(string=hai) anos
pai
achega
c6e31b2fdc
Modificáronse 1 ficheiros con 0 adicións e 1 borrados
  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))
             reply = Reply(ReplyType.ERROR, "Bot不支持处理{}类型的消息".format(context.type))
             return reply
             return reply
 
 
-
     def reply_text(self, session: ChatGPTSession, api_key=None, args=None, retry_count=0) -> dict:
     def reply_text(self, session: ChatGPTSession, api_key=None, args=None, retry_count=0) -> dict:
         """
         """
         call openai's ChatCompletion to get the answer
         call openai's ChatCompletion to get the answer