From 3902fd7501440d175f2bcc7a348ad1a467a4c148 Mon Sep 17 00:00:00 2001 From: hkfires <10558748+hkfires@users.noreply.github.com> Date: Thu, 1 Jan 2026 19:40:28 +0800 Subject: [PATCH] fix(iflow): remove thinking field from request body in thinking config handler --- internal/runtime/executor/iflow_executor.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/runtime/executor/iflow_executor.go b/internal/runtime/executor/iflow_executor.go index 6e9fa96c..8492fb35 100644 --- a/internal/runtime/executor/iflow_executor.go +++ b/internal/runtime/executor/iflow_executor.go @@ -504,6 +504,7 @@ func applyIFlowThinkingConfig(body []byte) []byte { // Remove reasoning_effort as we'll convert to model-specific format body, _ = sjson.DeleteBytes(body, "reasoning_effort") + body, _ = sjson.DeleteBytes(body, "thinking") // GLM-4.6/4.7: Use chat_template_kwargs if strings.HasPrefix(model, "glm-4") {