Skip to content

Commit 9b50c0e

Browse files
committed
feat(deepseek): add comments for preserveReasoning and remove included/excluded tools from deepseek-reasoner
1 parent 5138ec7 commit 9b50c0e

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

packages/types/src/providers/deepseek.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ export const deepSeekModels = {
1212
supportsImages: false,
1313
supportsPromptCache: true,
1414
supportsNativeTools: true,
15+
// preserveReasoning enables interleaved thinking mode for tool calls:
16+
// DeepSeek requires reasoning_content to be passed back during tool call
17+
// continuation within the same turn. See: https://api-docs.deepseek.com/guides/thinking_mode
18+
preserveReasoning: true,
1519
defaultToolProtocol: "native",
1620
inputPrice: 0.28, // $0.28 per million tokens (cache miss) - Updated Dec 9, 2025
1721
outputPrice: 0.42, // $0.42 per million tokens - Updated Dec 9, 2025
@@ -22,8 +26,6 @@ export const deepSeekModels = {
2226
"deepseek-reasoner": {
2327
maxTokens: 8192, // 8K max output
2428
contextWindow: 128_000,
25-
includedTools: ["edit_file"],
26-
// excludedTools: ["apply_diff"],
2729
supportsImages: false,
2830
supportsPromptCache: true,
2931
supportsNativeTools: true,

0 commit comments

Comments
 (0)