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

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

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


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

1 Replies

这是由于 AzureGPT 翻译渠道中指定的模型名称 gpt-5.2 不存在或不可用导致的。

  1. 检查并更正模型名称:在 菜单 -> 翻译设置 -> AzureGPT AI 设置面板中,检查“模型”输入框内的内容。Azure OpenAI 服务支持的模型名称通常为 gpt-4ogpt-4-turbo 等,而不是 gpt-5.2。请将其修改为正确的、已部署在您 Azure 账户下的模型名称。
  2. 验证模型部署:登录您的 Azure OpenAI 服务门户,确认您指定的模型已成功部署,并且该部署的名称与您在软件中填写的“模型”名称一致。
  3. 检查 API 配置:确保 AzureGPT AI 设置中的 API URLAPI Key 填写正确,并且该密钥拥有访问指定模型的权限。

请查阅相关文档:

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