#6498 No available models currently, for details please view 302.AI:Traceback (most recent call last): File

104.28.**7 Posted at: 1 hour ago

No available models currently, for details please view 302.AI:Traceback (most recent call last):
File "videotrans\util\TestSrtTrans.py", line 19, in run
File "videotrans\translator\_runner.py", line 63, in run
File "videotrans\translator\_base.py", line 74, in run
File "tenacity\__init__.py", line 480, in call
File "videotrans\translator\_openaicompat.py", line 77, 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.InternalServerError: Error code: 503 - {'error': {'err_code': -10008, 'message': 'No available models currently, for details please view 302.AI', 'message_cn': '当前无可用模型,更多请访问 302.AI', 'message_jp': '現在利用可能なモデルはありません。詳細は 302.AI をご覧ください。 ', 'type': 'api_error'}}


=
system:Windows-10-10.0.22631-SP0
version:v4.08
frozen:True
language:zh
root_dir:D:/pyVideoTrans/win-pyvideotrans-v4.07

1 Replies

这是 302.AI 服务端返回的 503 错误,不是 pyVideoTrans 本地故障。错误码 -10008 表示 302.AI 当前没有可用模型,常见原因有:所选模型在 302.AI 平台已下架/不可用、API Key 权限不足或余额不足、服务端临时过载。

解决办法:

  1. 打开 菜单 → 翻译设置 → 302.AI,确认 API Key 正确且账户有可用余额。
  2. 检查“模型名”是否选择了 302.AI 当前仍支持的模型,可尝试切换为 deepseek-v4-prodeepseek-v4-flash 后重试。
  3. 稍后重试,若 302.AI 临时无可用算力,错误会自动恢复。
  4. 仍不行可改用其他翻译渠道,例如 DeepSeek、Google 翻译或 M2M100 本地翻译。

如果更换渠道后仍报错,请提供 logs/ 目录下最新日志文件末尾约 30 行,以便进一步分析。

请查阅相关文档:

Post Your Reply
Open source and free maintenance is not easy. If this project is helpful to you, please consider making a small donation to help the project continue to maintain and update.

Dondate via ko-fi.com

Dondate via PayPal

Related resource