fix: remove deprecated thinking payload
This commit is contained in:
parent
7b804bf65f
commit
4652720c99
@ -266,9 +266,6 @@ class DeepSeekClient:
|
|||||||
"stream": stream,
|
"stream": stream,
|
||||||
"max_tokens": max_tokens
|
"max_tokens": max_tokens
|
||||||
}
|
}
|
||||||
if current_thinking_mode:
|
|
||||||
payload["thinking"] = {"type": "enabled"}
|
|
||||||
|
|
||||||
if tools:
|
if tools:
|
||||||
payload["tools"] = tools
|
payload["tools"] = tools
|
||||||
payload["tool_choice"] = "auto"
|
payload["tool_choice"] = "auto"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user