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

2401**469 Posted at: 1 hour ago

该模型始终思考,不支持关闭思考;请使用 low、high 或 max。
https://open.bigmodel.cn/api/paas/v4/
{'model': 'glm-5.3', 'timeout': 300, 'temperature': 0.1, 'max_tokens': 16384}:Traceback (most recent call last):
File "videotrans\translator\_openaicompat.py", line 88, 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 67, in run
File "videotrans\translator\_base.py", line 70, in run
File "videotrans\translator\_base.py", line 153, 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 94, in _item_task
videotrans.configure.excepts.StopTask: 该模型始终思考,不支持关闭思考;请使用 low、high 或 max。
https://open.bigmodel.cn/api/paas/v4/
{'model': 'glm-5.3', 'timeout': 300, 'temperature': 0.1, 'max_tokens': 16384}


=
system:Windows-10-10.0.22631-SP0
version:v4.12
frozen:True
language:zh_CN
root_dir:F:/sppy

1 Replies

#1 DeepSeek reply at 1 hour ago

该模型(glm-5.3)为强制思考模型,必须在思考模式(thinking)下使用,且需指定思考强度参数(low/high/max),不支持关闭思考。软件中默认将思考关闭,因此报 400 错误。

请按以下方式处理:

  1. 打开 菜单 → 翻译设置 → 智谱AI(或你当前使用的 OpenAI兼容/智谱渠道设置页面)。
  2. 在设置面板中勾选 Thinking(启用思考)。
  3. 若面板中有思考强度选项,选择 low、high 或 max(若当前网关不支持该参数,也可将模型更换为 glm-4-flash 等非强制思考模型)。
  4. 由于启用思考模式会消耗大量输出 token,同时把该渠道设置中的 max_tokens 调大(如 32768 或更高),避免思考内容挤占翻译文本导致截断。
  5. 保存后重试。
说明:报错信息中的 low/high/max 是智谱对该模型思考强度的取值要求,不是关闭思考。软件默认禁用思考,与该模型要求冲突。

请查阅相关文档:

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