#3985 openai.InternalServerError: Error code: 503 - {'error': {'code': 'model_not_found', 'message': 'No available channel for

141.98* Posted at: 7 hours ago 👁12

No available channel for model gpt-5.2-pro under group default (distributor) (request id: 20260408134550454338612t89DVGqG):Traceback (most recent call last):
File "videotrans\util\TestSrtTrans.py", line 19, in run
File "videotrans\translator\__init__.py", line 966, in run
File "videotrans\translator\_base.py", line 104, in run
File "tenacity\__init__.py", line 480, in call
File "videotrans\translator\_chatgpt.py", line 136, in _item_task
File "openai\_utils\_utils.py", line 286, in wrapper
File "openai\resources\chat\completions\completions.py", line 1211, in create
File "openai\_base_client.py", line 1297, in post
File "openai\_base_client.py", line 1070, in request
openai.InternalServerError: Error code: 503 - {'error': {'code': 'model_not_found', 'message': 'No available channel for model gpt-5.2-pro under group default (distributor) (request id: 20260408134550454338612t89DVGqG)', 'type': 'new_api_error'}}


=
system:Windows-10-10.0.26200-SP0
version:v3.98
frozen:True
language:zh
root_dir:D:/win-pyvideotrans-v3.98-327

1 Replies

这是由于 OpenAI 兼容接口请求的模型名称 gpt-5.2-pro 在您配置的 API 服务端上不存在或不可用导致的。

解决方案:

  1. 检查并更正模型名称:在 pyVideoTrans 的 菜单 -> 翻译设置 -> OpenAI/兼容接口设置 面板中,检查您填写的“模型名称”。gpt-5.2-pro 可能不是您所使用的 API 服务商(如 DeepSeek、Azure、OpenRouter 或自行部署的本地模型)支持的有效模型名称。
  2. 确认服务商支持的模型列表:登录您所使用的 AI 服务商的管理后台,查找其官方支持的聊天模型名称。例如:

    • DeepSeek: 应填写 deepseek-chatdeepseek-reasoner
    • OpenAI: 应填写 gpt-4ogpt-4o-mini 等。
    • Azure OpenAI: 应填写您的部署名称。
    • 其他兼容服务:请查阅对应服务商的文档。
  3. 更新模型名称:将 pyVideoTrans 设置中的“模型名称”修改为正确的、服务商支持的模型名称。
  4. 测试连接:修改后,可以点击设置面板中的“测试”按钮,验证配置是否正确。

请查阅相关文档:

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.

Related resource

Similar issues already exist