Skip to content

Commit

Permalink
chore: optimize message for HTTP Error 429
Browse files Browse the repository at this point in the history
  • Loading branch information
liby committed Jul 24, 2023
1 parent 327b113 commit cb3203a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.js
Expand Up @@ -40,7 +40,7 @@ var HttpErrorCodes = {
"425": "Too Early",
"426": "Upgrade Required",
"428": "Precondition Required",
"429": "Too Many Requests",
"429": "请求过于频繁,请慢一点。OpenAI 对您在 API 上的请求实施速率限制。这些限制适用于每分钟 tokens 数、每分钟请求数(某些情况下是每天请求数)。访问 https://platform.openai.com/account/rate-limits 了解更多信息,或参考 OpenAI 模型的默认速率限制",
"431": "Request Header Fields Too Large",
"451": "Unavailable For Legal Reasons",
"500": "Internal Server Error",
Expand Down

0 comments on commit cb3203a

Please sign in to comment.