Skip to content

Commit cb3203a

Browse files
committed
chore: optimize message for HTTP Error 429
1 parent 327b113 commit cb3203a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ var HttpErrorCodes = {
4040
"425": "Too Early",
4141
"426": "Upgrade Required",
4242
"428": "Precondition Required",
43-
"429": "Too Many Requests",
43+
"429": "请求过于频繁,请慢一点。OpenAI 对您在 API 上的请求实施速率限制。这些限制适用于每分钟 tokens 数、每分钟请求数(某些情况下是每天请求数)。访问 https://platform.openai.com/account/rate-limits 了解更多信息,或参考 OpenAI 模型的默认速率限制",
4444
"431": "Request Header Fields Too Large",
4545
"451": "Unavailable For Legal Reasons",
4646
"500": "Internal Server Error",

0 commit comments

Comments
 (0)