Skip to content

Commit

Permalink
chore: update 429 error code message
Browse files Browse the repository at this point in the history
  • Loading branch information
liby committed Jan 27, 2024
1 parent 8adf9ae commit 94f3d0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/const.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ var HttpErrorCodes = {
"425": "Too Early",
"426": "Upgrade Required",
"428": "Precondition Required",
"429": "请求过于频繁,请慢一点。OpenAI 对您在 API 上的请求实施速率限制。这些限制适用于每分钟 tokens 数、每分钟请求数(某些情况下是每天请求数)。访问 https://platform.openai.com/account/rate-limits 了解更多信息,或参考 OpenAI 模型的默认速率限制",
"429": "请求过于频繁,请慢一点。OpenAI 对您在 API 上的请求实施速率限制。或是您的 API credits 已超支,需要充值。好消息是您仍然可以使用官方的 Web 端聊天页面",
"431": "Request Header Fields Too Large",
"451": "Unavailable For Legal Reasons",
"500": "Internal Server Error",
Expand Down

0 comments on commit 94f3d0a

Please sign in to comment.