fix: hiding the thought process

This commit is contained in:
zhayujie
2026-02-04 19:36:01 +08:00
parent c72cda3386
commit 72b1cacea1
2 changed files with 2 additions and 2 deletions

View File

@@ -205,7 +205,7 @@ class ZHIPUAIBot(Bot, ZhipuAIImage):
request_params["thinking"] = thinking
elif "glm-4.7" in request_params["model"]:
# Enable thinking by default for GLM-4.7
request_params["thinking"] = {"type": "enabled"}
request_params["thinking"] = {"type": "disabled"}
# Make API call with ZhipuAI SDK
if stream: