fixbug: dead loop

This commit is contained in:
莘权 马 2023-08-31 23:14:07 +08:00
parent ea35305b52
commit 91595daa3b

View file

@ -351,7 +351,7 @@ class OpenAIGPTAPI(BaseGPTAPI, RateLimiter):
raise openai.error.OpenAIError("Exceeds the maximum retries")
MAX_TRY = 5
DEFAULT_TOKEN_SIZE = 50
DEFAULT_TOKEN_SIZE = 500
if __name__ == "__main__":