#5242 openai.RateLimitError: Error code: 429 - {'error': {'message': '当前分组 default 上游模型 gpt-4o-mini 负载已饱和,请稍后再试 (request id: 2

18.182* Posted at: 20 hours ago

当前分组 default 上游模型 gpt-4o-mini 负载已饱和,请稍后再试 (request id: 202606162205086959036943560038):Traceback (most recent call last):
File "videotrans\util\TestSrtTrans.py", line 19, in run
File "videotrans\translator\__init__.py", line 858, in run
File "videotrans\translator\_base.py", line 75, in run
File "tenacity\__init__.py", line 480, in call
File "videotrans\translator\_openaicompat.py", line 69, in _item_task
File "openai\_utils\_utils.py", line 298, in wrapper
File "openai\resources\chat\completions\completions.py", line 1215, in create
File "openai\_base_client.py", line 1332, in post
File "openai\_base_client.py", line 1105, in request
openai.RateLimitError: Error code: 429 - {'error': {'message': '当前分组 default 上游模型 gpt-4o-mini 负载已饱和,请稍后再试 (request id: 202606162205086959036943560038)', 'type': 'v_api_error', 'param': '', 'code': None}}


=
system:Windows-10-10.0.19045-SP0
version:v4.02
frozen:True
language:zh
root_dir:E:/AI/pyvideotrrans

1 Replies

这是由于你使用的 AI 翻译渠道(兼容 OpenAI/本地大模型)的服务器端负载饱和,返回 429 限流错误。

解决办法:

  1. 打开 菜单 → 工具 → 高级选项 → 字幕翻译调整,将 AI翻译渠道每批字幕行数 调小(例如设为 1~5 行,减少单批请求量)。
  2. 翻译后暂停秒 增加至 3~5 秒,降低请求频率。
  3. 若上述无效,请切换翻译渠道为其他可用的 AI 渠道或传统翻译(如 DeepSeek、Microsoft Translate)临时使用。

请查阅相关文档:

Post Your Reply