feat: enable native tool calling for deepseek 3.2 [AI-27] (#7877)

* feat: enable native tool calling for deepseek 3.2

Add isDeepSeek32ModelFamily() function to identify DeepSeek 3.2 models and integrate it into the isNextGenModelFamily() check. This classifies DeepSeek 3.2 as a next-generation model family, enabling native tool calling support.

* typo
This commit is contained in:
Bee authored and GitHub committed 2025-12-04 09:59:27 -08:00
1 parent 2b63eed85e
commit 4e3fe004f4
2 files changed
+12 -1

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
---
"claude-dev": patch
---
Add DeepSeek 3.2 to native tool calling allow list
+7 -1
View File
@@ -121,6 +121,11 @@ export function isGemini3ModelFamily(id: string): boolean {
return modelId.includes("gemini3") || modelId.includes("gemini-3")
}
function isDeepSeek32ModelFamily(id: string): boolean {
const modelId = normalize(id)
return modelId.includes("deepseek") && modelId.includes("3.2")
}
export function isNextGenModelFamily(id: string): boolean {
const modelId = normalize(id)
return (
@@ -130,7 +135,8 @@ export function isNextGenModelFamily(id: string): boolean {
isGPT5ModelFamily(modelId) ||
isMinimaxModelFamily(modelId) ||
isGemini3ModelFamily(modelId) ||
isNextGenOpenSourceModelFamily(modelId)
isNextGenOpenSourceModelFamily(modelId) ||
isDeepSeek32ModelFamily(modelId)
)
}