Browse Source

Merge pull request #395 from goldfishh/master

fix a minor typo
develop
zhayujie GitHub 1 year ago
parent
commit
e6112568ed
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      bot/chatgpt/chat_gpt_bot.py

+ 1
- 1
bot/chatgpt/chat_gpt_bot.py View File

@@ -110,7 +110,7 @@ class ChatGPTBot(Bot):
if retry_count < 1: if retry_count < 1:
time.sleep(5) time.sleep(5)
logger.warn("[OPEN_AI] ImgCreate RateLimit exceed, 第{}次重试".format(retry_count+1)) 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: else:
return "提问太快啦,请休息一下再问我吧" return "提问太快啦,请休息一下再问我吧"
except Exception as e: except Exception as e:


Loading…
Cancel
Save