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 ebbb43a commit 9c94312
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,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 9c94312

Please sign in to comment.