From 4652720c9933811abb0786341df62eaa124ac8d1 Mon Sep 17 00:00:00 2001 From: JOJO <1498581755@qq.com> Date: Tue, 18 Nov 2025 17:30:47 +0800 Subject: [PATCH] fix: remove deprecated thinking payload --- utils/api_client.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/utils/api_client.py b/utils/api_client.py index 056f4ee..5b4fcae 100644 --- a/utils/api_client.py +++ b/utils/api_client.py @@ -266,9 +266,6 @@ class DeepSeekClient: "stream": stream, "max_tokens": max_tokens } - if current_thinking_mode: - payload["thinking"] = {"type": "enabled"} - if tools: payload["tools"] = tools payload["tool_choice"] = "auto"