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

2408:8207* Posted at: 2 hours ago 👁9

No available channel for model gpt-5.2-pro under group openai_azure (distributor) (request id: 20260412143950182556403recaCyDQ):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 openai_azure (distributor) (request id: 20260412143950182556403recaCyDQ)', 'type': 'new_api_error'}}


=
system:Windows-10-10.0.19045-SP0
version:v3.98
frozen:True
language:zh
root_dir:C:/pyvideo

1 Replies

这是由于在 Azure OpenAI 服务中请求了不存在的模型名称 gpt-5.2-pro 导致的。

  1. 检查并修正模型名称:在软件菜单栏中,点击 翻译设置 -> OpenAI ChatGPT,检查 模型 输入框中的内容。Azure OpenAI 的模型名称通常为 gpt-4ogpt-4-turbogpt-35-turbo 等,而不是 gpt-5.2-pro
  2. 确认模型部署:确保您在 Azure OpenAI 门户中已成功部署了您填写的模型,并且该部署名称与软件中填写的模型名称一致。
  3. 重新测试:修正模型名称后,点击翻译设置面板中的 测试 按钮,确认连接和模型调用成功。

请查阅相关文档:

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