From 55fe38d5fb28134888cd7616a7cf05c571b1e0e1 Mon Sep 17 00:00:00 2001 From: goldfishh Date: Tue, 7 Mar 2023 22:49:55 +0800 Subject: [PATCH] fix a minor typo --- bot/chatgpt/chat_gpt_bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/chatgpt/chat_gpt_bot.py b/bot/chatgpt/chat_gpt_bot.py index 22b13df..0cde9a8 100644 --- a/bot/chatgpt/chat_gpt_bot.py +++ b/bot/chatgpt/chat_gpt_bot.py @@ -110,7 +110,7 @@ class ChatGPTBot(Bot): if retry_count < 1: time.sleep(5) logger.warn("[OPEN_AI] ImgCreate RateLimit exceed, 第{}次重试".format(retry_count+1)) - return self.reply_text(query, retry_count+1) + return self.create_img(query, retry_count+1) else: return "提问太快啦,请休息一下再问我吧" except Exception as e: