#7776 该模型始终思考,不支持关闭思考;请使用 low、high 或 max。https://open.bigmodel.cn/api/paas/v4/

2602**84e Posted at: 15 hours ago

该模型始终思考,不支持关闭思考;请使用 low、high 或 max。
https://open.bigmodel.cn/api/paas/v4/
{'model': 'GLM-5.3-Flash', 'timeout': 300, 'temperature': 0.1, 'max_tokens': 16384}:Traceback (most recent call last):
File "videotrans\translator\_openaicompat.py", line 98, in _item_task
File "videotrans\translator\_openaicompat.py", line 48, in _create_completion
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.BadRequestError: Error code: 400 - {'error': {'code': '1210', 'message': '该模型始终思考,不支持关闭思考;请使用 low、high 或 max。'}}

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "videotrans\util\TestSrtTrans.py", line 19, in run
File "videotrans\translator\_runner.py", line 75, in run
File "videotrans\translator\_base.py", line 72, in run
File "videotrans\translator\_base.py", line 155, in _run_srt
File "tenacity\__init__.py", line 338, in wrapped_f
File "tenacity\__init__.py", line 477, in call
File "tenacity\__init__.py", line 378, in iter
File "tenacity\__init__.py", line 400, in
File "concurrent\futures\_base.py", line 451, in result
File "concurrent\futures\_base.py", line 403, in __get_result
File "tenacity\__init__.py", line 480, in call
File "videotrans\translator\_openaicompat.py", line 109, in _item_task
videotrans.configure.excepts.StopTask: 该模型始终思考,不支持关闭思考;请使用 low、high 或 max。
https://open.bigmodel.cn/api/paas/v4/
{'model': 'GLM-5.3-Flash', 'timeout': 300, 'temperature': 0.1, 'max_tokens': 16384}


=
system:Windows-10-10.0.26200-SP0
version:v4.14
frozen:True
language:zh_CN
root_dir:D:/win-pyvideotrans-v4.14

1 Replies

#1 DeepSeek reply at 15 hours ago

这是智谱AI渠道(GLM-5.3-Flash)强制思考模式导致的报错:该模型不支持关闭思考(软件内部会发送关闭思考的请求参数),必须显式指定思考强度为 low、high 或 max。

解决方案:

  1. 更换模型:在软件 菜单 → 翻译设置 → 智谱AI 中,将模型名从 GLM-5.3-Flash 改为不带强制思考的普通模型(如 glm-4-flash 等)。

    这类支持思考强度的新模型目前未被软件适配请求参数,直接使用会因参数冲突报错。

  2. 改用其他翻译渠道:使用支持关闭思考模式的渠道,例如 DeepSeek(在设置面板中取消选中 Thinking / 思考模式复选框即可),或 Gemini、OpenAI 等。

  3. 若确认要用此模型,请提供你所使用的软件版本号,并确认该渠道设置面板中是否存在"思考强度"相关选项。

    当前知识库中无 GLM-5.3-Flash 模型及 low/high/max 思考强度参数的配置说明,无法确定该模型在软件中的具体适配情况。

说明:该报错属于智谱官方对 GLM-5.3-Flash 模型的接口限制(code: 1210),并非软件本身故障。

软件未针对该模型的思考参数做适配,因此无法通过软件设置绕过。

请查阅相关文档:

Thinking...
Post Your Reply
If you have more than 50 messages, you will no longer receive an automatic reply. Please ask a new question!
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

Related resource